Sha256: d36ad2baaf6505148140931139ba440fd00e072bbddf23ccd60763c837152f0a

Contents?: true

Size: 808 Bytes

Versions: 12

Compression:

Stored size: 808 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 padding-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 %>
   <%% end %>
<%% end %>
<div class="cl"></div>

Version data entries

12 entries across 7 versions & 1 rubygems

Version Path
humdrum-rails-0.1.3 lib/rails/generators/humdrum/api/templates/views/gumby/resource/_index.html.erb
humdrum-rails-0.1.2 lib/rails/generators/humdrum/api/templates/views/gumby/resource/_index.html.erb
humdrum-rails-0.1.1 lib/rails/generators/humdrum/resource/templates/views/bootstrap3/resource/_index.html.erb
humdrum-rails-0.1.1 lib/rails/generators/humdrum/api/templates/views/gumby/resource/_index.html.erb
humdrum-rails-0.1.1 lib/rails/generators/humdrum/resource/templates/views/gumby/resource/_index.html.erb
humdrum-rails-0.0.9 lib/rails/generators/humdrum/resource/templates/views/gumby/resource/_index.html.erb
humdrum-rails-0.0.9 lib/rails/generators/humdrum/api/templates/views/gumby/resource/_index.html.erb
humdrum-rails-0.0.9 lib/rails/generators/humdrum/resource/templates/views/bootstrap3/resource/_index.html.erb
humdrum-rails-0.0.8 lib/rails/generators/humdrum/resource/templates/views/gumby/resource/_index.html.erb
humdrum-rails-0.0.8 lib/rails/generators/humdrum/api/templates/views/gumby/resource/_index.html.erb
humdrum-rails-0.0.7 lib/rails/generators/humdrum/resource/templates/views/gumby/resource/_index.html.erb
humdrum-rails-0.0.6 lib/rails/generators/humdrum/resource/templates/views/gumby/resource/_index.html.erb