Sha256: 034cc4a48eca9e8219a0f919f2c6a6ea68f714eb35d5036931ead6043cba3cd7

Contents?: true

Size: 1.09 KB

Versions: 9

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 can? :update, @role -%>
      <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

9 entries across 9 versions & 1 rubygems

Version Path
enju_leaf-1.1.4 app/views/roles/show.html.erb
enju_leaf-1.1.3 app/views/roles/show.html.erb
enju_leaf-1.1.2 app/views/roles/show.html.erb
enju_leaf-1.1.1 app/views/roles/show.html.erb
enju_leaf-1.1.0 app/views/roles/show.html.erb
enju_leaf-1.1.0.rc22 app/views/roles/show.html.erb
enju_leaf-1.1.0.rc21 app/views/roles/show.html.erb
enju_leaf-1.1.0.rc20 app/views/roles/show.html.erb
enju_leaf-1.1.0.rc19 app/views/roles/show.html.erb