Created
August 31, 2011 00:40
-
-
Save rjfranco/1182536 to your computer and use it in GitHub Desktop.
Map Location Partial
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- @area_maps.each do |map| | |
= f.input :area, :as => 'select', :collection => map.areas, :id => 'bad_id', :required => false, :wrapper_html => {:class => "map_selector_#{map.id}", :style => "display:none"} | |
= f.input :location_name, :required => false, | | |
:hint => "Use to describe an abstract location, e.g., \"By the front door\".<br /> This is only used if a location has not been selected.", | | |
:wrapper_html => { | | |
:class => "location_description", | | |
:style => "display:none" | | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment