Sha256: c48a3daef04376b0acaeea0fe21961003b6dce82ddd818e564a9697c225007c2

Contents?: true

Size: 1.36 KB

Versions: 7

Compression:

Stored size: 1.36 KB

Contents

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

<h2 class="resource_title">
  <%= @event.display_name.localize -%>
</h2>

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

<p>
  <strong><%= t('activerecord.models.event_category') -%>:</strong>
  <%= @event.event_category.display_name.localize -%>
</p>

<p>
  <strong><%= t('activerecord.models.library') -%>:</strong>
  <%= link_to @event.library.display_name.localize, @event.library -%>
</p>

<p>
  <strong><%= t('activerecord.attributes.event.start_at') -%>:</strong>
  <%= l(@event.start_at, format: :only_date) -%>
</p>

<p>
  <strong><%= t('activerecord.attributes.event.end_at') -%>:</strong>
  <%= l(@event.end_at, format: :only_date) -%>
</p>

<p>
  <strong><%= t('activerecord.attributes.event.all_day') -%>:</strong>
  <%= localized_boolean(@event.all_day) %>
</p>

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

</div>
</div>

<div id="submenu" class="ui-corner-all ui-widget-content">
  <ul>
    <li><%= link_to t('page.edit'), edit_event_path(@event) -%></li>
    <li><%= back_to_index(flash[:page_info]) -%></li>
  </ul>
</div>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
enju_event-0.1.17.pre26 app/views/events/show.html.erb
enju_event-0.1.17.pre25 app/views/events/show.html.erb
enju_event-0.1.17.pre24 app/views/events/show.html.erb
enju_event-0.1.17.pre23 app/views/events/show.html.erb
enju_event-0.1.17.pre22 app/views/events/show.html.erb
enju_event-0.1.17.pre21 app/views/events/show.html.erb
enju_event-0.1.17.pre20 app/views/events/show.html.erb