Created
August 19, 2012 21:42
-
-
Save psykidellic/3397903 to your computer and use it in GitHub Desktop.
Text with error
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
| - if resource.errors.any? | |
| .alert.alert-block.alert-error | |
| %h4.alert-heading | |
| = pluralize(@session.errors.count, "error") | |
| with form: | |
| %ul | |
| - @session.error.full_messages.each do |msg| | |
| %li= msg | |
| %span.control-group.error | |
| = f.label :email, 'Email' | |
| %span.control-group.error | |
| .span4 | |
| = f.email_field :email | |
| %span.help-inline Required. | |
| %p.help-block Your activation email will be sent to this address. | |
| %label{:for => "user_password"} Create a Password: | |
| .span4 | |
| = f.password_field :password | |
| %span.help-inline Required. | |
| %hr/ | |
| %p.help-inline Optional. | |
| .form-actions | |
| .alert.alert-info | |
| By signing up, you accept | |
| = app_name | |
| = link_to 'terms of use', app_url | |
| and privacy policy. | |
| .row-fluid | |
| .span5 | |
| -# Learn about data-disable-with | |
| %input.btn.btn-primary.btn-large{"data-disable-with" => "Just a moment...", :name => "commit", :type => "submit", :value => "Create an Account"}/ | |
| .span7{:style => "padding-top:10px"} | |
| %label.checkbox{:for => "user_remember_me"} | |
| %input{:name => "user[remember_me]", :type => "hidden", :value => "0"}/ | |
| %input#user_newsletter_subscriber{:name => "user[remember_me]", :type => "checkbox", :value => "1"}/ | |
| Remember me | |
| %p.ar | |
| %i.icon-user | |
| Already have an account? | |
| %a{:href => new_user_session_path} Log in here → |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment