Guest User

Untitled

a guest
Oct 23rd, 2017
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. <%= simple_form_for [:admin, @facility] do |f| %>
  2. <%= f.input :name %>
  3. <%= f.input :beds, :label => "Number of beds" %>
  4. <%= f.input :hours, :label => "Number of hours" %>
  5. <%= f.input :address1, :label => "Street address 1" %>
  6. <%= f.input :address2, :label => "Street address 2" %>
  7. <%= f.input :suburb %>
  8. <%= f.input :postcode %>
  9. <%= f.input :country %>
  10. <%= f.input :state %>
  11. <%= f.association :group, :as => :radio %>
  12. <%= f.association :regions, :as => :check_boxes %>
  13. <%= f.association :markets, :as => :check_boxes %>
  14. <p><%= f.button :submit %> or <%= link_to "Back to facilities", admin_facilities_path %></p>
  15. <% end %>
Add Comment
Please, Sign In to add comment