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.1.12 app/views/admin/users/permissions.html.erb
muck-users-3.1.11 app/views/admin/users/permissions.html.erb
muck-users-3.1.10 app/views/admin/users/permissions.html.erb
muck-users-3.1.9 app/views/admin/users/permissions.html.erb
muck-users-3.1.8 app/views/admin/users/permissions.html.erb
muck-users-3.1.7 app/views/admin/users/permissions.html.erb
muck-users-3.1.6 app/views/admin/users/permissions.html.erb
muck-users-3.1.5 app/views/admin/users/permissions.html.erb
muck-users-3.1.4 app/views/admin/users/permissions.html.erb
muck-users-3.1.3 app/views/admin/users/permissions.html.erb
muck-users-3.1.2 app/views/admin/users/permissions.html.erb
muck-users-3.1.1 app/views/admin/users/permissions.html.erb
muck-users-3.1.0 app/views/admin/users/permissions.html.erb
muck-users-3.0.9 app/views/admin/users/permissions.html.erb
muck-users-3.0.8 app/views/admin/users/permissions.html.erb
muck-users-3.0.7 app/views/admin/users/permissions.html.erb
muck-users-3.0.6 app/views/admin/users/permissions.html.erb
muck-users-3.0.5 app/views/admin/users/permissions.html.erb
muck-users-3.0.4 app/views/admin/users/permissions.html.erb
muck-users-3.0.2 app/views/admin/users/permissions.html.erb