Sha256: d6837d7ea739541cc90ac196ef88d1f79b8ffde1cb7533e585e3dc55deb6bc1f

Contents?: true

Size: 1.51 KB

Versions: 51

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.user_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.user_export_file.user_export_file_name') -%></th>
      <th><%= t('activerecord.attributes.user_export_file.state') -%></th>
      <th></th>
    </tr>
  </thead>

  <tbody>
    <% @user_export_files.each do |user_export_file| %>
      <tr class="line<%= cycle("0", "1") -%>">
        <td><%= link_to user_export_file.id, user_export_file %></td>
        <td><%= user_export_file.user.try(:username) %></td>
        <td>
          <%= link_to user_export_file.user_export_file_name, user_export_file_path(user_export_file, format: :download) if user_export_file.user_export_file_name %>
          <br />
          <%= user_export_file.created_at %>
        </td>
        <td><%= localized_state(user_export_file.current_state) -%></td>
        <td>
          <%= link_to t('page.destroy'), user_export_file, data: {confirm: t('page.are_you_sure')}, method: :delete -%>
        </td>
      </tr>
    <% end %>
  </tbody>
</table>

<%= paginate(@user_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.user_export_file')), new_user_export_file_path -%></li>
  </ul>
</div>

Version data entries

51 entries across 49 versions & 2 rubygems

Version Path
enju_library-0.3.11 app/views/user_export_files/index.html.erb
enju_library-0.3.10 app/views/user_export_files/index.html.erb
enju_library-0.3.9 app/views/user_export_files/index.html.erb
enju_library-0.3.8 app/views/user_export_files/index.html.erb
enju_library-0.3.8.rc.2 app/views/user_export_files/index.html.erb
enju_library-0.3.8.rc.1 app/views/user_export_files/index.html.erb
enju_library-0.4.0.rc.1 app/views/user_export_files/index.html.erb
enju_library-0.3.7 app/views/user_export_files/index.html.erb
enju_library-0.3.6 app/views/user_export_files/index.html.erb
enju_library-0.4.0.beta.4 app/views/user_export_files/index.html.erb
enju_library-0.4.0.beta.3 app/views/user_export_files/index.html.erb
enju_library-0.4.0.beta.2 app/views/user_export_files/index.html.erb
enju_library-0.4.0.beta.1 app/views/user_export_files/index.html.erb
enju_library-0.3.5 app/views/user_export_files/index.html.erb
enju_library-0.3.4 app/views/user_export_files/index.html.erb
enju_library-0.3.3 app/views/user_export_files/index.html.erb
enju_library-0.3.2 app/views/user_export_files/index.html.erb
enju_library-0.3.1 app/views/user_export_files/index.html.erb
enju_library-0.3.0 app/views/user_export_files/index.html.erb
enju_library-0.3.0.rc.1 app/views/user_export_files/index.html.erb