Sha256: 1278c9d8a38df7ef3ff4e6db77a6333bc3005831d31e9aed9e7579a4d70d6907

Contents?: true

Size: 1.2 KB

Versions: 2

Compression:

Stored size: 1.2 KB

Contents

<div class="cl-10 hidden-xs"></div>

<%%# Displays to Manage the items %>
<div class="<%= row_class %> mb-10">
	<div class="fs-22 col-sm-6 hidden-xs">Manage <%= model_class.pluralize %></div>
	<div class="fs-22 col-sm-6 text-align-center visible-xs">Manage <%= model_class.pluralize %></div>
	<div id="div_<%= instance_name %>_filters" class="col-sm-6 hidden-xs">
		<%%= render :partial=>"filters" %>
	</div>
</div>

<div class="cl-10 hidden-xs"></div>

<%%# Renders a partial to display all the <%= instances_name %> %>
<div class="<%= row_class %>">
	<div id="div_<%= instance_name %>_index" class="col-sm-6 hidden-xs">
		<%%= render :partial=>"index" %>
	</div>
	<div id="div_<%= instance_name %>_drop_down" class="col-xs-12 visible-xs">
		<%%= render :partial=>"drop_down" %>
	</div>

	<div id="div_<%= instance_name %>_details" class="col-xs-12 col-sm-6">
		<%% 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

2 entries across 2 versions & 1 rubygems

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