sgruhier / foundation_rails_helper

Rails Helper for Zurb Fondation framework
MIT License
152 stars 84 forks source link

hint produces an unwanted attribute #92

Closed collimarco closed 9 years ago

collimarco commented 9 years ago
= f.password_field :current_password, required: true, hint: 'We need your current password to confirm your changes.'

Produces:

<label for="user_current_password" class="">Current password</label><input type="password" hint="We need your current password to confirm your changes." required="required"><span class="hint">We need your current password to confirm your changes.</span>

As you can see there's an unwanted hintattribute on the input.

I think the expected behavior is only to produce the span element.

collimarco commented 9 years ago

Fixed via https://github.com/sgruhier/foundation_rails_helper/pull/96

dsandstrom commented 9 years ago

Thanks for PRs. I'll merge them this weekend if not earlier.

collimarco commented 9 years ago

96 merged