the label helper method does not remove :as from the label_html #472

Closed
23inhouse opened this Issue Feb 25, 2012 · 2 comments

Comments

Projects
None yet
3 participants
@23inhouse

The label helper correctly changes the class from "string required" to "boolean required", but it adds as="boolean" to html output.

<% f.label, :name, {:as => :boolean} %>
<label as="boolean" class="boolean required" for="blog_name"><abbr title="required">*</abbr> Name</label>

❤️

@nashby

This comment has been minimized.

Show comment Hide comment
@nashby

nashby Feb 25, 2012

Collaborator

sorry, forgot to add "closes #472" to commit message. Close it somebody please

Collaborator

nashby commented Feb 25, 2012

sorry, forgot to add "closes #472" to commit message. Close it somebody please

@rafaelfranca

This comment has been minimized.

Show comment Hide comment
@rafaelfranca

rafaelfranca Feb 25, 2012

Collaborator

@nashby thanks again mate!! ❤️

Collaborator

rafaelfranca commented Feb 25, 2012

@nashby thanks again mate!! ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment