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