Sha256: ac4abbd7943d07a86908ef6636af5611a86dc3a6f53f4a1134e46ab78b82565d
Contents?: true
Size: 865 Bytes
Versions: 2
Compression:
Stored size: 865 Bytes
Contents
<%= form_with model: @pre_registration, local: true do |f| %> <fieldset> <legend>Pre-registration details</legend> <%= f.form_group :email do %> <%= f.label :email %> <%= f.text_field :email %> <%= f.errors :email %> <% end %> <%= f.form_group :first_name do %> <%= f.label :first_name %> <%= f.text_field :first_name %> <%= f.errors :first_name %> <% end %> <%= f.form_group :last_name do %> <%= f.label :last_name %> <%= f.text_field :last_name %> <%= f.errors :last_name %> <% end %> </fieldset> <%= f.submit "Save" %> <% if @pre_registration.new_record? %> <%= link_to "Cancel", pre_registrations_path, class: 'button-secondary' %> <% else %> <%= link_to "Cancel", pre_registration_path(@pre_registration), class: 'button-secondary' %> <% end %> <% end %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mr_common-2.1.0 | app/views/mr_common/pre_registrations/pre_registrations/_form.html.erb |
mr_common-2.0.0 | app/views/mr_common/pre_registrations/pre_registrations/_form.html.erb |