Sha256: bcde9776e58c58387905323392f3cd3d93359ef708e449137c4b4a72e558e9f8

Contents?: true

Size: 360 Bytes

Versions: 1

Compression:

Stored size: 360 Bytes

Contents

<div class="page-header">
  <h1><%= @user.name %></h1>
</div>

<%= simple_form_for([:admin, @user]) do |f| %>
  <%= f.input :state, collection: [:active, :blocked], as: :radio_buttons %>

  <%= f.association :roles, as: :check_boxes,
    label_method: ->(r) { t(r.name, scope: 'role.names') } %>

  <%= f.submit t(:save), class: 'btn btn-default' %>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
raddar-0.0.1.pre app/views/raddar/admin/users/show.html.erb