Sha256: a1acf97508a213868b42410c487ff74cb9e896583cca3000ec87ba4aa8f5d5e8

Contents?: true

Size: 434 Bytes

Versions: 13

Compression:

Stored size: 434 Bytes

Contents

<% custom_form_for @user, :url => admin_user_path(@user), :html => { :class => 'ajax', :method => :put } do |f| %>
  <ul class="admin-list checkbox-list">
    <% Role.all.each do |role| -%>
      <li><%= check_box_tag "user[role_ids][]", role.id, @user.has_role?(role.rolename) -%> <%= role.rolename -%></li>
    <% end -%>
  </ul>
  <%= hidden_field_tag :update_roles, true %>
  <%= f.submit translate('muck.users.save') %>
<% end %>

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
muck-users-0.3.20 app/views/admin/users/permissions.html.erb
muck-users-0.3.19 app/views/admin/users/permissions.html.erb
muck-users-0.3.18 app/views/admin/users/permissions.html.erb
muck-users-0.3.17 app/views/admin/users/permissions.html.erb
muck-users-0.3.16 app/views/admin/users/permissions.html.erb
muck-users-0.3.15 app/views/admin/users/permissions.html.erb
muck-users-0.3.14 app/views/admin/users/permissions.html.erb
muck-users-0.3.13 app/views/admin/users/permissions.html.erb
muck-users-0.3.12 app/views/admin/users/permissions.html.erb
muck-users-0.3.11 app/views/admin/users/permissions.html.erb
muck-users-0.3.10 app/views/admin/users/permissions.html.erb
muck-users-0.3.9 app/views/admin/users/permissions.html.erb
muck-users-0.3.8 app/views/admin/users/permissions.html.erb