Sha256: d0fadf34098db504cf186629e0022f5b0f5367557cd2244ee5e81cf1c884ee54

Contents?: true

Size: 1.2 KB

Versions: 1

Compression:

Stored size: 1.2 KB

Contents

<%= render 'menu' %>

<div class="ui attached segment">
  <%= render 'search_form' %>
</div>

<table class="table is-hoverable is-fullwidth">
  <thead>
    <tr>
      <th>ID</th>
      <th><%= Tutorial.human_attribute_name(:member) %></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.member&.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' %>
        <%= link_to 'Perform', perform_my_tutorial_path(tutorial), class: 'ui pink 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/tutorings.html.erb