Sha256: 92312e13cab36ebc77c04ffbc97fe39dee7c49a5df3bc62765e5747a8cdc625b

Contents?: true

Size: 414 Bytes

Versions: 3

Compression:

Stored size: 414 Bytes

Contents

<div data-hook="admin_user_form_roles">
  <p>
    <%= label_tag nil, t(:roles) %><br />
    <% @roles.each do |role| %>
      <label class="sub">
        <%= check_box_tag 'user[spree_role_ids][]', role.id, @user.spree_roles.include?(role), :id => "user_spree_role_#{role.name}" %>
        <%= role.name %>
      </label> &nbsp;
    <% end %>
    <%= hidden_field_tag 'user[spree_role_ids][]', '' %>
  </p>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
spree_auth_devise-1.2.0 app/views/spree/admin/users/_roles.html.erb
spree_auth_devise-1.0.1 app/views/spree/admin/users/_roles.html.erb
spree_auth_devise-1.0.0 app/views/spree/admin/users/_roles.html.erb