Sha256: 1356f0e718e0485ca079cb598beda60a9f58db684437390d9ba0cf3fd318dd03

Contents?: true

Size: 1.51 KB

Versions: 5

Compression:

Stored size: 1.51 KB

Contents

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

<table class="table table-striped index">
  <thead>
    <tr>
      <th>Id</th>
      <th><%= t('activerecord.models.user') %></th>
      <th><%= t('activerecord.attributes.event_export_file.event_export_file_name') -%></th>
      <th><%= t('activerecord.attributes.event_export_file.state') -%></th>
      <th></th>
    </tr>
  </thead>

  <tbody>
    <% @event_export_files.each do |event_export_file| %>
      <tr class="line<%= cycle("0", "1") -%>">
        <td><%= link_to event_export_file.id, event_export_file %></td>
        <td><%= event_export_file.user.try(:username) %></td>
        <td>
          <%= link_to event_export_file.event_export_file_name, event_export_file.event_export.url if event_export_file.event_export.path %>
          <br />
          <%= event_export_file.created_at %>
        </td>
        <td><%= localized_state(event_export_file.current_state) -%></td>
        <td>
          <%= link_to t('page.destroy'), event_export_file, method: :delete, data: {confirm: t('page.are_you_sure')}, method: :delete -%>
        </td>
      </tr>
    <% end %>
  </tbody>
</table>

<%= paginate(@event_export_files) %>

</div>
</div>

<div id="submenu" class="ui-corner-all ui-widget-content">
  <ul>
    <li><%= link_to t('page.new', model: t('activerecord.models.event_export_file')), new_event_export_file_path -%></li>
  </ul>
</div>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
enju_event-0.1.17.pre23 app/views/event_export_files/index.html.erb
enju_event-0.1.17.pre22 app/views/event_export_files/index.html.erb
enju_event-0.1.17.pre21 app/views/event_export_files/index.html.erb
enju_event-0.1.17.pre20 app/views/event_export_files/index.html.erb
enju_event-0.1.17.pre19 app/views/event_export_files/index.html.erb