Sha256: 3c567010c2ea2eb0dafd7e08a8c5984130b3fbd6753fd9ece2106aa15a2ceeff

Contents?: true

Size: 833 Bytes

Versions: 2

Compression:

Stored size: 833 Bytes

Contents

<%%# Displays list of @<%= instances_name %> %>
<div id="div_<%= instance_name %>_collections">
	<%% @<%= instances_name %>.each do |<%= instance_name %>| %>
		<div id="div_<%= instance_name %>_<%%= <%= instance_name %>.id %>">
			<%%= render :partial=>"item", :locals=>{:<%= instance_name %>=><%= instance_name %>} %>
		</div>
	<%% end %>
	<%% if @<%= instances_name %>.blank? %>
		<div id="div_<%= instance_name %>_empty" class="box text-color-grey p-80 text-align-center" style="height:200px;">
      <%%= translate("forms.no_results_found") %>
		</div>
	<%% end %>
</div>
<div class="cl"></div>

<%% if @<%= instances_name %>.any? %>
   <%%= content_tag :div, :class=>"pull-right" do %>
     <%%= paginate @<%= instances_name %>, :remote => true, :theme => 'twitter-bootstrap' %>
   <%% end %>
<%% end %>
<div class="cl"></div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
humdrum-rails-0.1.3 lib/rails/generators/humdrum/resource/templates/views/bootstrap2/resource/_index.html.erb
humdrum-rails-0.1.2 lib/rails/generators/humdrum/resource/templates/views/bootstrap2/resource/_index.html.erb