Sha256: 6e0511e8b80390d8e5e24f79ec3b051489843257882ff6fc70962cbd86a11aa9

Contents?: true

Size: 1.95 KB

Versions: 9

Compression:

Stored size: 1.95 KB

Contents

<div id="div_price_show">

  <div class="row">
    
    <div class="col-md-8 col-sm-12 col-xs-12" style="border-right:1px solid #f1f1f1;">

      <%= theme_panel_heading(@price.title) %>
      <%= theme_panel_description(@price.sub_title) %>
      <%= theme_panel_sub_heading(@price.category.try(:display_name), "#") if @price.category %>
      <%= clear_tag(10) %>
      <div>Price: <%= @price.price %></div>
      <%= clear_tag(10) %>
      <%= display_publishable_status(@price) %>
      <%= display_featured(@price) %>
      <%= clear_tag(20) %>
    </div>

    <% if display_manage_links? %>
    <div class="col-md-4 col-sm-12 col-xs-12">
      <%= display_manage_buttons(@price) %>
      <%= display_publishable_buttons(@price) %>
      <%= display_featurable_buttons(@price) %>
    </div>
    <% end %>

  </div>

  <% if @current_user.super_admin? %>
  <%= clear_tag(40) %>
  <div><strong class="fs-18">Technical Details</strong></div>
  <hr>
  <div class="table-responsive"> 
    <table class="table table-striped table-condensed table-bordered mb-60"> 
      <tbody>
        
        <tr>
          <th>ID</th><td><%= @price.id %></td>
          <th>Category</th><td><%= "#{@price.category.name} (#{@price.category.id})" if @price.category %></td>
        </tr>
        
        <tr>
          <th>Status</th><td><%= @price.status %></td>
          <th>Featured</th><td><%= @price.featured? ? "Yes" : "No" %></td>
        </tr>

        <tr>
          <th>Priority</th><td><%= @price.priority %></td>
          <th></th><td></td>
        </tr>

        <tr>
          <th>Created At</th><td><%= @price.created_at.strftime("%m/%d/%Y - %H:%M:%S") if @price.created_at %></td>
          <th>Updated At</th><td><%= @price.updated_at.strftime("%m/%d/%Y - %H:%M:%S") if @price.updated_at %></td>
        </tr>
        
      </tbody>
    </table>
  </div>
  <% end %>

  <%= link_to "Close", "#", onclick: close_show_modal, class: "btn btn-primary pull-right" %>

  <%= clear_tag %>

</div>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
dhatu-0.3.9.pre.materialize app/views/dhatu/prices/_show.html.erb
dhatu-0.3.8.pre.materialize app/views/dhatu/prices/_show.html.erb
dhatu-0.3.7.pre.materialize app/views/dhatu/prices/_show.html.erb
dhatu-0.3.6.pre.materialize app/views/dhatu/prices/_show.html.erb
dhatu-0.3.5.pre.materialize app/views/dhatu/prices/_show.html.erb
dhatu-0.3.4.pre.materialize app/views/dhatu/prices/_show.html.erb
dhatu-0.3.3.pre.materialize app/views/dhatu/prices/_show.html.erb
dhatu-0.3.2.pre.materialize app/views/dhatu/prices/_show.html.erb
dhatu-0.3.1.pre.materialize app/views/dhatu/prices/_show.html.erb