Sha256: 676d0835572f29fdb6a1a88aa8d2c1470f64780df3368b2ae939533788cf2284

Contents?: true

Size: 1.23 KB

Versions: 9

Compression:

Stored size: 1.23 KB

Contents

<div id="content_detail" class="ui-corner-all">
<h1 class="title"><%= t('page.showing', :model => t('activerecord.models.news_post')) -%></h1>
<div id="content_list">
<p>
  <strong><%= t('activerecord.attributes.news_post.title') -%>:</strong>
  <%= @news_post.title -%>
</p>

<p>
  <strong><%= t('activerecord.attributes.news_post.body') -%>:</strong>
  <%= raw auto_link(simple_format(h(@news_post.body))) -%>
</p>

<p>
  <strong><%= t('activerecord.models.user') -%>:</strong>
  <%= link_to h(@news_post.user.username), user_path(@news_post.user.username) -%>
</p>

<!--
<p>
  <strong><%= t('role.required_role') -%>:</strong>
  <%= @news_post.required_role.display_name.localize -%>
</p>
-->

<p>
  <strong><%= t('activerecord.attributes.news_post.start_date') -%>:</strong>
  <%= l(@news_post.start_date) -%>
</p>

<p>
  <strong><%= t('activerecord.attributes.news_post.end_date') -%>:</strong>
  <%= l(@news_post.end_date) -%>
</p>

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

</div>
</div>

<div id="submenu" class="ui-corner-all">
  <ul>
    <li><%= link_to t('page.edit'), edit_news_post_path(@news_post) -%></li>
    <li><%= link_to t('page.back'), news_posts_path -%></li>
  </ul>
</div>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
enju_news-0.1.0.pre5 app/views/news_posts/show.html.erb
enju_news-0.1.0.pre4 app/views/news_posts/show.html.erb
enju_news-0.1.0.pre3 app/views/news_posts/show.html.erb
enju_news-0.1.0.pre2 app/views/news_posts/show.html.erb
enju_news-0.1.0.pre app/views/news_posts/show.html.erb
enju_news-0.0.5 app/views/news_posts/show.html.erb
enju_news-0.0.4 app/views/news_posts/show.html.erb
enju_news-0.0.3 app/views/news_posts/show.html.erb
enju_news-0.0.2 app/views/news_posts/show.html.erb