Sha256: e04d465dc9ac62b518191528fe3814b5412a8ea82fe1ce5cc0a1c593e2d6bf2f

Contents?: true

Size: 936 Bytes

Versions: 12

Compression:

Stored size: 936 Bytes

Contents

<%%# Displays to Manage the items %>
<div class="<%= row_class %> padding-top-10 margin-left-0">
	<div class="font-size-22 pull-left">Manage <%= model_class.pluralize %></div>
	<div id="div_<%= instance_name %>_filters pull-right">
		<%%= render :partial=>"filters" %>
	</div>
	<div class="cl-20"></div>
</div>
<%%# Renders a partial to display all the <%= instances_name %> %>
<div class="<%= row_class %>">
	<div id="div_<%= instance_name %>_index" class="span6">
		<%%= render :partial=>"index" %>
	</div>

	<div id="div_<%= instance_name %>_details" class="span6">
		<%% case	params[:action] %>
		<%% when "new", "edit", "show" %>
			<%%= render :partial=>params[:action] %>
		<%% when "index" %>	
			<%% if @<%= instances_name %>.empty? %>
				<%%= render :partial=>"summary" %>
			<%% else %>
				<%%= render :partial=>"show" %>	
			<%% end %>
		<%% else %>
			<%%= render :partial=>"summary" %>	
		<%% end %>
	</div>
	
</div>


Version data entries

12 entries across 9 versions & 1 rubygems

Version Path
humdrum-rails-0.1.3 lib/rails/generators/humdrum/api/templates/views/bootstrap/resource/index.html.erb
humdrum-rails-0.1.2 lib/rails/generators/humdrum/api/templates/views/bootstrap/resource/index.html.erb
humdrum-rails-0.1.1 lib/rails/generators/humdrum/api/templates/views/bootstrap/resource/index.html.erb
humdrum-rails-0.1.1 lib/rails/generators/humdrum/resource/templates/views/bootstrap2/resource/index.html.erb
humdrum-rails-0.0.9 lib/rails/generators/humdrum/api/templates/views/bootstrap/resource/index.html.erb
humdrum-rails-0.0.9 lib/rails/generators/humdrum/resource/templates/views/bootstrap2/resource/index.html.erb
humdrum-rails-0.0.8 lib/rails/generators/humdrum/api/templates/views/bootstrap/resource/index.html.erb
humdrum-rails-0.0.8 lib/rails/generators/humdrum/resource/templates/views/bootstrap/resource/index.html.erb
humdrum-rails-0.0.7 lib/rails/generators/humdrum/resource/templates/views/bootstrap/resource/index.html.erb
humdrum-rails-0.0.6 lib/rails/generators/humdrum/resource/templates/views/bootstrap/resource/index.html.erb
humdrum-rails-0.0.4 lib/rails/generators/humdrum/resource/templates/views/resource/index.html.erb
humdrum-rails-0.0.3 lib/rails/generators/humdrum/resource/templates/views/resource/index.html.erb