Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

sort parent

  • Loading branch information...
commit e8aaee3b0821a98ad4be005f4d06550f2b1e2e83 1 parent c99a505
Vlad authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  app/views/admin/hosts/_form.html.haml
2  app/views/admin/hosts/_form.html.haml
... ... @@ -1,6 +1,6 @@
1 1 = semantic_form_for [:admin, resource], :html => {:multipart => true} do |form|
2 2 = form.inputs do
3   - = form.input :parent
  3 + = form.input :parent, :as => :select, :collection => Host.order(:name)
4 4 = form.input :name
5 5 = form.input :description
6 6 = form.input :location

0 comments on commit e8aaee3

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