Last active
November 10, 2015 05:14
-
-
Save yamaaki/5db82f4d0e07388d482b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#admin-members-form | |
= form_for [:admin, @member] do |f| | |
.row | |
.input-field.col.s12.l9 | |
i.material-icons.prefix email | |
= f.email_field :email, class: 'validate' | |
= f.label :email | |
.row | |
.input-field.col.s12.l9 | |
i.material-icons.prefix lock_outline | |
= f.password_field :password, autocomplete: 'off', class: 'validate' | |
- if is_edit_page | |
= f.label :password, Member.human_attribute_name(:password) + ' - Reave blank if there is no need to changes.' | |
- else | |
= f.label :password | |
.row | |
.col.s12 | |
.section | |
= button_tag class: 'btn waves-effect waves-light' do | |
i.material-icons.left.u-slim send | |
span Send |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment