Sha256: f88ecc4c25315c6e422adf0771c69d14ec6d712b92740b0ceea5002167f39238

Contents?: true

Size: 1.56 KB

Versions: 9

Compression:

Stored size: 1.56 KB

Contents

<div class="table-responsive"> 
	<table class="table table-hover members-table middle-align">
	  <thead> 
			<tr> 
				<th style="text-align: center;width:5%">#</th> 
				<th>Item</th>
				<th style="width:200px">Price</th>
				<th>Priority</th>
				<th style="width:100px;" class="hidden-sm hidden-xs">Status</th>
				<% if display_manage_links? %>
				<th style="text-align: center;" colspan="2" class="hidden-sm hidden-xs" >Actions</th>
				<% end %>
			</tr> 
		</thead>
	  <tbody>
	  	<tr id="tr_price_0"></tr>
	  	<% @prices.each_with_index do |price, i| %>
	  		<tr id="tr_price_<%= price.id %>">

					<th scope="row" style="text-align: center;">
						<%= serial_number(i) %>
					</th>

					<td class="display-link">
						<%= link_to price.title, price_path(price), remote: true %><br>
						<%= link_to price.category.try(:display_name), price_path(price), remote: true, style: "color:darkred" %>
					</td>

					<td class="hidden-sm hidden-xs"><%= price.price %></td>
					<td class="hidden-sm hidden-xs"><%= price.priority %></td>
					<td class="hidden-sm hidden-xs"><%= display_publishable_status(price) %></td>

		      <% if display_manage_links? %>
			    <td class="action-links hidden-sm hidden-xs" style="width:15%"><%= display_publishable_links(price) %></td>

			    <td class="action-links hidden-sm hidden-xs" style="width:15%">
			      <%= display_manage_links(price, @current_user) %>
			    </td>
			    <% end %>
		    </tr>
		  <% end %>
	  </tbody>
	</table>
</div>

<div class="row">
  <div class="col-sm-12">
    <%= paginate_kuppayam(@prices) %>
  </div>
</div>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
dhatu-0.1.18 app/views/dhatu/prices/_index.html.erb
dhatu-0.1.16 app/views/dhatu/prices/_index.html.erb
dhatu-0.1.15 app/views/dhatu/prices/_index.html.erb
dhatu-0.1.14 app/views/dhatu/prices/_index.html.erb
dhatu-0.1.13 app/views/dhatu/prices/_index.html.erb
dhatu-0.1.12 app/views/dhatu/prices/_index.html.erb
dhatu-0.1.11 app/views/dhatu/prices/_index.html.erb
dhatu-0.1.10 app/views/dhatu/prices/_index.html.erb
dhatu-0.1.9 app/views/dhatu/prices/_index.html.erb