Sha256: 25e30a1cd56ca5f4b33a89f2121bd3e948b5dd13907fde9a5c8bf48f5ba30449

Contents?: true

Size: 1.24 KB

Versions: 16

Compression:

Stored size: 1.24 KB

Contents

<% content_for :content_title, "Manage Prices <small>#{@workshop.title}</small>".html_safe %>
<% content_for :sidebar do %>
  <ul class="navigation-light block">
    <li><%= link_to 'Back to Workshop', edit_admin_workshop_url(@workshop) %></li>
  </ul>
<% end %>
<%= render partial: 'dm_event/admin/workshops/header_menu' %>

<% toolbar = toolbar_btn(icons(:new), new_admin_workshop_workshop_price_path(@workshop), title: 'New Forum', class: "btn btn-link btn-icon") %>
<%= panel body: false, title: 'Workshop Prices', toolbar: toolbar do %>
  <table id="drag_sort" class="table table-striped table-bordered table-block" data-update_url="<%= dm_event.admin_workshop_price_sort_path %>">
    <thead>
      <tr>
        <th class="sort_handle"></th>
        <th>Description</th>
        <th width="50">Price</th>
      </tr>
    </thead>
    <tbody>
      <% @workshop_prices.each do |workshop_price| %>
        <tr class="item" data-item_id="<%= workshop_price.id %>">
          <td class="sort_handle"></td>
          <td>
            <%= link_to workshop_price.price_description, [:edit, :admin, workshop_price] %>
          </td>
          <td><%= humanized_money_with_symbol workshop_price.price %></td>
        </tr>
      <% end %>
    </tbody>
  </table>
<% end %>

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
dm_event-4.2.3.10 app/views/dm_event/admin/workshop_prices/index.html.erb
dm_event-4.2.3.9 app/views/dm_event/admin/workshop_prices/index.html.erb
dm_event-4.2.3.8 app/views/dm_event/admin/workshop_prices/index.html.erb
dm_event-4.2.3.7 app/views/dm_event/admin/workshop_prices/index.html.erb
dm_event-4.2.3.6 app/views/dm_event/admin/workshop_prices/index.html.erb
dm_event-4.2.3.5 app/views/dm_event/admin/workshop_prices/index.html.erb
dm_event-4.2.3.4 app/views/dm_event/admin/workshop_prices/index.html.erb
dm_event-4.2.3.3 app/views/dm_event/admin/workshop_prices/index.html.erb
dm_event-4.2.3.2 app/views/dm_event/admin/workshop_prices/index.html.erb
dm_event-4.2.3.1 app/views/dm_event/admin/workshop_prices/index.html.erb
dm_event-4.2.3 app/views/dm_event/admin/workshop_prices/index.html.erb
dm_event-4.2.2.3 app/views/dm_event/admin/workshop_prices/index.html.erb
dm_event-4.2.2.2 app/views/dm_event/admin/workshop_prices/index.html.erb
dm_event-4.2.2.1 app/views/dm_event/admin/workshop_prices/index.html.erb
dm_event-4.2.2 app/views/dm_event/admin/workshop_prices/index.html.erb
dm_event-4.2.1.5 app/views/dm_event/admin/workshop_prices/index.html.erb