Sha256: 0ac9dbe7aec8fe49e85231dd4b0a15d14ac92d9b6b576a239ef684e199af04c2

Contents?: true

Size: 710 Bytes

Versions: 5

Compression:

Stored size: 710 Bytes

Contents

= form_for @user, html: {class: 'form-horizontal'} do |f|
  %fieldset
    %legend= caption

  - if @user.errors.any?
    #error_explanation
      %h2= "#{pluralize(@user.errors.count, "error")} prohibited this user from being saved:"
      %ul
        - @user.errors.full_messages.each do |msg|
          %li= msg

  .control-group
    = f.label :email, class: 'control-label'
    .controls
      = f.email_field :email, autofocus: true

  .control-group
    = f.label :password, class: 'control-label'
    .controls
      = f.password_field :password

  .control-group
    .controls
      .actions
        = f.submit class: 'btn btn-primary'
             
        = link_to 'Back', users_path

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
flms-0.9.0 app/views/flms/users/_form.html.haml
flms-0.1.0 app/views/flms/users/_form.html.haml
flms-0.0.3 app/views/flms/users/_form.html.haml
flms-0.0.2 app/views/flms/users/_form.html.haml
flms-0.0.1 app/views/flms/users/_form.html.haml