Sha256: 7ebabcdce10355c0a3355fdc844a251c905677814f071f7730c55c5d37121fc3

Contents?: true

Size: 1.49 KB

Versions: 4

Compression:

Stored size: 1.49 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.user_export.url if user_export_file.user_export.path %>
          <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, method: :delete, 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

4 entries across 4 versions & 1 rubygems

Version Path
enju_leaf-1.1.0.rc16 app/views/user_export_files/index.html.erb
enju_leaf-1.1.0.rc15 app/views/user_export_files/index.html.erb
enju_leaf-1.1.0.rc14 app/views/user_export_files/index.html.erb
enju_leaf-1.1.0.rc13 app/views/user_export_files/index.html.erb