Sha256: 86c290f390f295f9908c57451f6f8b373264e5e9637b5cf8f7b7b107286c31f5

Contents?: true

Size: 1.22 KB

Versions: 19

Compression:

Stored size: 1.22 KB

Contents

= simple_form_for(resource, html: {class: 'col sl12'} ) do |f|
  / - if parent?
  /   = render @parent
  = f.error_notification

  .form-inputs
    .row
      .input-field.col.s12
        = f.input :name, class: :validate, disabled: @disabled, autofocus: true

    .row
      .input-field.col.s12
        = f.input :account_id, collection: policy_scope(Account), class: :validate, disabled: @disabled, autofocus: true

    .row
      .input-field.col.s12
        = f.input :email, class: :validate, disabled: @disabled, autofocus: true

    .row
      .input-field.col.s6
        = f.input :password, class: :validate, disabled: @disabled, autofocus: true

      .input-field.col.s6
        = f.input :password_confirmation, class: :validate, disabled: @disabled, autofocus: true


    .row
      .input-field.col.s6
        = f.input :role, collection: User.policed_roles(current_user), class: :validate, disabled: @disabled
      .input-field.col.s6
        %label{ style: "margin-top: -20px"}= t('.account_active')
        .switch
          %label
            = t(:passive)
            =f.check_box :active, disabled: @disabled
            %span.lever
            = t(:active)

    .row
      .col.sl12{ style: "margin-bottom: 30px"}
    %hr

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
oxen_user-0.4.13 app/views/oxen/users/_form.html.haml
oxen_user-0.4.12 app/views/oxen/users/_form.html.haml
oxen_user-0.4.11 app/views/oxen/users/_form.html.haml
oxen_user-0.4.9 app/views/oxen/users/_form.html.haml
oxen_user-0.4.8 app/views/oxen/users/_form.html.haml
oxen_user-0.4.7 app/views/oxen/users/_form.html.haml
oxen_user-0.4.3 app/views/oxen/users/_form.html.haml
oxen_user-0.4.1 app/views/oxen/users/_form.html.haml
oxen_user-0.3.4 app/views/oxen/users/_form.html.haml
oxen_user-0.3.3 app/views/oxen/users/_form.html.haml
oxen_user-0.3.2 app/views/oxen/users/_form.html.haml
oxen_user-0.3.1 app/views/oxen/users/_form.html.haml
oxen_user-0.3.0 app/views/oxen/users/_form.html.haml
oxen_user-0.2.9 app/views/oxen/users/_form.html.haml
oxen_user-0.2.8 app/views/oxen/users/_form.html.haml
oxen_user-0.2.4 app/views/oxen/users/_form.html.haml
oxen_user-0.2.2 app/views/oxen/users/_form.html.haml
oxen_user-0.2.1 app/views/oxen/users/_form.html.haml
oxen_user-0.2.0 app/views/oxen/users/_form.html.haml