Sha256: e866396a84b1318a4a165985dca73dc5e24fdca5345bbb5fd79a46add45d3a4f

Contents?: true

Size: 1.09 KB

Versions: 2

Compression:

Stored size: 1.09 KB

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.score') -%>:</strong>
  <%= @role.score -%>
</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><%= link_to t('page.back'), roles_path -%></li>
  </ul>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
enju_seed-0.4.0.beta.1 app/views/roles/show.html.erb
enju_seed-0.3.0.beta.4 app/views/roles/show.html.erb