Sha256: 4e86d081a024efbde7018480687366d37a663f3b795212ded31ca848956c1c6f

Contents?: true

Size: 940 Bytes

Versions: 3

Compression:

Stored size: 940 Bytes

Contents

<%= f.input :gender,
  collection: @user_genders,
  prompt: _t('Please choose'),
  input_html: {class: 'alchemy_selectbox'} %>
<%= f.input :firstname %>
<%= f.input :lastname %>
<%= f.input :login, autofocus: true %>
<%= f.input :email %>
<%= f.input :language, collection: translations_for_select, include_blank: false, input_html: {class: 'alchemy_selectbox'} %>
<%= f.input :password %>
<%= f.input :password_confirmation %>
<% if can? :update_role, @user %>
  <%= f.input :alchemy_roles,
    collection: Alchemy::User::ROLES.map { |role| [Alchemy::User.human_rolename(role), role] },
    input_html: {multiple: true, class: 'alchemy_selectbox'},
    as: 'select' %>
<% end %>
<% unless @signup %>
  <div class="input tag_list">
    <%= f.label :tag_list %>
    <%= render 'alchemy/admin/partials/autocomplete_tag_list', f: f, object: @user %>
  </div>
<% end %>
<%= f.input :send_credentials, as: 'boolean' %>
<%= f.submit _t(:save) %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
alchemy-devise-2.1.0.beta2 app/views/alchemy/admin/users/_fields.html.erb
alchemy-devise-2.1.0.beta1 app/views/alchemy/admin/users/_fields.html.erb
alchemy-devise-2.0.0 app/views/alchemy/admin/users/_fields.html.erb