Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

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

Closed
23inhouse opened this Issue · 2 comments

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>

:heart:

@nashby
Collaborator

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

@rafaelfranca

@nashby thanks again mate!! :heart:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.