Sha256: b5c30cfbaa27c1c77ecded2bb9c19df5f85eeba29c73408d6c7786acb63b47f3

Contents?: true

Size: 997 Bytes

Versions: 6

Compression:

Stored size: 997 Bytes

Contents

<div class="list_div" id="product_list" mv:preview="showOne">
	  <div class="product_list sidebar">
	    <h1>Tasks:</h1>
	    <ul>
	      <li><%= link_to 'Create new product', :action => 'new' %></li>
	    </ul> 
	  </div>

	  <div class="product_list content">
	    <h1>Products</h1>

	    <div class="list">	
	      <table border="1" cellpadding="5" class="product_list_table">
	      <tr>
		<!-- [listhead:product] -->
<th class="th_name">Name</th>
<th class="th_description">Description</th>
<th class="th_cost">Cost</th>
<th class="th_price">Price</th>
<!-- [eolisthead:product] -->

	      </tr>
	      <%= render( :partial => 'product/product', :collection => @products ) %>
	      </table>

	      <% if @product_pages.current.previous %><%= link_to 'Previous page', :page => @product_pages.current.previous %><% end %>
	      <% if @product_pages.current.next %><%= link_to 'Next page', :page => @product_pages.current.next %><% end %>

	    </div>                      
	  </div>
	</div>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
masterview-0.2.1 test/tmp/views/product/list.rhtml
masterview-0.2.0 test/tmp/views/product/list.rhtml
masterview-0.2.2 test/tmp/views/product/list.rhtml
masterview-0.2.3 test/tmp/views/product/list.rhtml
masterview-0.2.4 test/tmp/views/product/list.rhtml
masterview-0.2.5 test/tmp/views/product/list.rhtml