Skip to content

Commit

Permalink
Localized Tag#identifier
Browse files Browse the repository at this point in the history
  • Loading branch information
towerhe authored and Clarke Brunsdon committed Jan 23, 2012
1 parent f793ee2 commit 24e620b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/comfortable_mexican_sofa/form_builder.rb
Expand Up @@ -57,7 +57,7 @@ def submit(value, options = {}, &block)
# -- Tag Field Fields -----------------------------------------------------
def default_tag_field(tag, index, options = {})
method = options.delete(:method) || :text_field_tag
label = tag.identifier.to_s.titleize
label = tag.page.class.human_attribute_name(tag.identifier.to_s)
css_class = tag.class.to_s.demodulize.underscore
content = ''

Expand Down

0 comments on commit 24e620b

Please sign in to comment.