Created
March 31, 2014 20:50
-
-
Save biscuitvile/9901933 to your computer and use it in GitHub Desktop.
Haml example with line breaking
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
| %section | |
| %article.admin.narrow | |
| %header | |
| %h1 Sign in | |
| = form_tag sessions_path do | |
| %fieldset | |
| %dl | |
| %dt= label_tag :email | |
| %dd= text_field_tag :email, nil, | |
| autocapitalze: 'off', | |
| autocorrect: 'off', | |
| autocomplete: 'off' | |
| %dt= label_tag :password | |
| %dd= password_field_tag :password | |
| %fieldset.actions | |
| = submit_tag "Sign in" | |
| = link_to "register", :new_user | |
| = link_to "forgot password?", [:new, :password_reset_request] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment