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