Sha256: f5c6eb712e9ca7b6c94ea4b7a9eb012acffe08aa680ee7aac17e374833c4f523

Contents?: true

Size: 1.95 KB

Versions: 11

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: "closeGenericModal();", class: "btn btn-primary pull-right" %>

  <%= clear_tag %>

</div>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
dhatu-0.3.0.pre.materialize app/views/dhatu/prices/_show.html.erb
dhatu-0.2.3 app/views/dhatu/prices/_show.html.erb
dhatu-0.2.2 app/views/dhatu/prices/_show.html.erb
dhatu-0.2.1 app/views/dhatu/prices/_show.html.erb
dhatu-0.2.0 app/views/dhatu/prices/_show.html.erb
dhatu-0.1.25 app/views/dhatu/prices/_show.html.erb
dhatu-0.1.24 app/views/dhatu/prices/_show.html.erb
dhatu-0.1.23 app/views/dhatu/prices/_show.html.erb
dhatu-0.1.22 app/views/dhatu/prices/_show.html.erb
dhatu-0.1.21 app/views/dhatu/prices/_show.html.erb
dhatu-0.1.20 app/views/dhatu/prices/_show.html.erb