Sha256: 716549c9c3e7de601331cff60c7aa0b0ff70e827e56105de5f1182f9866057d0

Contents?: true

Size: 1.05 KB

Versions: 5

Compression:

Stored size: 1.05 KB

Contents

<div class="row">
  <div class="small-12 columns">
    <h1>User</h1>
    <%= link_to 'Back', users_path, class: 'secondary button' %>
  </div>
</div>

<div class="row">
  <div class="small-12 columns">
    <table>
      <tr>
        <td><strong>Name</strong></td>
        <td><%= @user.name %></td>
      </tr>
      <tr>
        <td><strong>Email</strong></td>
        <td><%= @user.email %></td>
      </tr>
      <tr>
        <td><strong>Groups</strong></td>
        <td><%= @user.groups.collect(&:title).join(', ') %></td>
      </tr>
      <tr>
        <td><strong>Permissions</strong></td>
        <td>
          <% @user.permissions.each do |permission| %>
            <u><%= clean_subject_class permission.authorization.subject_class %>:</u> <%= permission.authorization.action %><br>
          <% end %>
        </td>
      </tr>
      <tr>
        <td><strong>Created</strong></td>
        <td><%= @user.created_at %></td>
      </tr>
      <tr>
        <td><strong>Updated</strong></td>
        <td><%= @user.updated_at %></td>
      </tr>
    </table>
  </div>
</div>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
guts-2.1.0 app/views/guts/users/show.html.erb
guts-2.0.2 app/views/guts/users/show.html.erb
guts-2.0.1 app/views/guts/users/show.html.erb
guts-2.0.0 app/views/guts/users/show.html.erb
guts-1.4.0 app/views/guts/users/show.html.erb