Sha256: 48671a41d23d2a94763bcf13c1edb03cead5e22ffa722f6318c571f4dbdc2cae

Contents?: true

Size: 433 Bytes

Versions: 62

Compression:

Stored size: 433 Bytes

Contents

<%= muck_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

62 entries across 62 versions & 1 rubygems

Version Path
muck-users-3.2.25 app/views/admin/users/permissions.erb
muck-users-3.2.24 app/views/admin/users/permissions.erb
muck-users-3.2.23 app/views/admin/users/permissions.erb
muck-users-3.2.22 app/views/admin/users/permissions.erb
muck-users-3.2.21 app/views/admin/users/permissions.erb
muck-users-3.2.20 app/views/admin/users/permissions.erb
muck-users-3.2.19 app/views/admin/users/permissions.erb
muck-users-3.2.18 app/views/admin/users/permissions.erb
muck-users-3.2.17 app/views/admin/users/permissions.erb
muck-users-3.2.16 app/views/admin/users/permissions.erb
muck-users-3.2.15 app/views/admin/users/permissions.erb
muck-users-3.2.14 app/views/admin/users/permissions.erb
muck-users-3.2.13 app/views/admin/users/permissions.erb
muck-users-3.2.12 app/views/admin/users/permissions.erb
muck-users-3.2.11 app/views/admin/users/permissions.erb
muck-users-3.2.10 app/views/admin/users/permissions.erb
muck-users-3.2.9 app/views/admin/users/permissions.erb
muck-users-3.2.8 app/views/admin/users/permissions.erb
muck-users-3.2.7 app/views/admin/users/permissions.erb
muck-users-3.2.6 app/views/admin/users/permissions.erb