Sha256: 534af8f95bf24ab6b69c0d071bb276d45b7c62f79e436fe4737034ac89993356

Contents?: true

Size: 1.04 KB

Versions: 1

Compression:

Stored size: 1.04 KB

Contents

<%= render 'menu' %>

<table class="table is-hoverable is-fullwidth">
  <thead>
    <tr>
      <th>ID</th>
      <th><%= Tutorial.human_attribute_name(:tutor) %></th>
      <th><%= Tutorial.human_attribute_name(:state) %></th>
      <th><%= Tutorial.human_attribute_name(:accepted_status) %></th>
      <th><%= Tutorial.human_attribute_name(:performance) %></th>
      <th><%= Tutorial.human_attribute_name(:allowance) %></th>
      <th><%= Tutorial.human_attribute_name(:verified) %></th>
      <th></th>
    </tr>
  </thead>

  <tbody>
  <% @tutorials.each do |tutorial| %>
    <tr>
      <td><%= tutorial.id %></td>
      <td><%= tutorial.tutor&.name %></td>
      <td><%= tutorial.state_i18n %></td>
      <td><%= tutorial.accepted_status_i18n %></td>
      <td><%= tutorial.performance %></td>
      <td><%= tutorial.allowance %></td>
      <td><%= tutorial.verified_i18n %></td>
      <td>
        <%= link_to 'Show', my_tutorial_path(tutorial), class: 'ui blue label' %>
      </td>
    </tr>
  <% end %>
  </tbody>
</table>

<%= paginate @tutorials %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rails_org-0.0.1 app/views/org/me/tutorials/index.html.erb