Skip to content
Browse files

sort parent

  • Loading branch information...
1 parent c99a505 commit e8aaee3b0821a98ad4be005f4d06550f2b1e2e83 @slayer committed Mar 2, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/views/admin/hosts/_form.html.haml
View
2 app/views/admin/hosts/_form.html.haml
@@ -1,6 +1,6 @@
= semantic_form_for [:admin, resource], :html => {:multipart => true} do |form|
= form.inputs do
- = form.input :parent
+ = form.input :parent, :as => :select, :collection => Host.order(:name)
= form.input :name
= form.input :description
= form.input :location

0 comments on commit e8aaee3

Please sign in to comment.
Something went wrong with that request. Please try again.