Sha256: 2dd512dc60d2ff7fcb8b0d371ccd2e5bf45948c403aa41aac89480fdd95fc1c6

Contents?: true

Size: 1016 Bytes

Versions: 4

Compression:

Stored size: 1016 Bytes

Contents

<div id="content_detail" class="ui-corner-all ui-widget-content">
<h1 class="title"><%= t('page.showing', model: t('activerecord.models.role')) -%></h1>
<div id="content_list">
<p id="notice"><%= notice %></p>

<p>
  <strong><%= t('activerecord.attributes.role.name') -%>:</strong>
  <%= @role.name -%>
</p>

<p>
  <strong><%= t('activerecord.attributes.role.display_name') -%>:</strong>
  <%= @role.display_name.localize -%>
</p>

<p>
  <strong><%= t('activerecord.attributes.role.note') -%>:</strong>
  <%= @role.note -%>
</p>

<p>
<strong><%= t('page.created_at') -%>:</strong>
  <%= l(@role.created_at) if @role.created_at -%>
</p>

<p>
<strong><%= t('page.updated_at') -%>:</strong>
  <%= l(@role.updated_at) if @role.created_at -%>
</p>

</div>
</div>

<div id="submenu" class="ui-corner-all ui-widget-content">
  <ul>
    <%- if policy(@role).update? -%>
      <li><%= link_to t('page.edit'), edit_role_path(@role) -%></li>
    <%- end -%>
    <li><%= back_to_index(flash[:page_info]) -%></li>
  </ul>
</div>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
enju_seed-0.3.6 app/views/roles/show.html.erb
enju_seed-0.3.5 app/views/roles/show.html.erb
enju_seed-0.3.4 app/views/roles/show.html.erb
enju_seed-0.3.3 app/views/roles/show.html.erb