Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <%= simple_form_for [:admin, @facility] do |f| %>
- <%= f.input :name %>
- <%= f.input :beds, :label => "Number of beds" %>
- <%= f.input :hours, :label => "Number of hours" %>
- <%= f.input :address1, :label => "Street address 1" %>
- <%= f.input :address2, :label => "Street address 2" %>
- <%= f.input :suburb %>
- <%= f.input :postcode %>
- <%= f.input :country %>
- <%= f.input :state %>
- <%= f.association :group, :as => :radio %>
- <%= f.association :regions, :as => :check_boxes %>
- <%= f.association :markets, :as => :check_boxes %>
- <p><%= f.button :submit %> or <%= link_to "Back to facilities", admin_facilities_path %></p>
- <% end %>
Add Comment
Please, Sign In to add comment