<%= form_for event do |form| %>
  Name: <%= form.text_field :name, class: 'form-control' %><br />
  Date: <%= form.date_field :date, class: 'form-control' %><br />
  <%= form.submit "Create event", class: 'btn btn-primary' %>
<% end %>

<%= form_for event do |form| %>
  Name: <%= form.text_field :name, class: 'form-control' %><br />
  Date: <%= form.date_field :date, class: 'form-control' %><br />
  <%= form.submit "Save event", class: 'btn btn-primary' %>
<% end %>

Make button text suitable for new and edit states
Make button text suitable for new and edit states
