forked from OpenNeo/impress
Matchu
b44cb4b09e
main name field lost its ID in the redesign gave it one and changed the one in the JS to match
15 lines
422 B
Ruby
15 lines
422 B
Ruby
module OutfitsHelper
|
|
def destination_tag(value)
|
|
hidden_field_tag 'destination', value, :id => nil
|
|
end
|
|
|
|
def pet_attribute_select(name, collection, value=nil)
|
|
select_tag name,
|
|
options_from_collection_for_select(collection, :id, :human_name, value)
|
|
end
|
|
|
|
def pet_name_tag(options={})
|
|
options = {:spellcheck => false, :id => nil}.merge(options)
|
|
text_field_tag 'name', nil, options
|
|
end
|
|
end
|