Sha256: c09c7fa9e8d432725445d0b4ad7a34cc4828cdc548d61ead7287471603550466

Contents?: true

Size: 1.71 KB

Versions: 7

Compression:

Stored size: 1.71 KB

Contents

<%unless params[:render] == 'modal'%>
	<div class="row wrapper border-bottom white-bg page-heading">
		<div class="col-lg-3">
			<h2>
				<% if content_for? :header %>
					<%= yield  :header %>
				<% end %>
			</h2>
			<ol class="breadcrumb">
				<li>
					<a href="/">Home</a>
				</li>
				<% if content_for? :breadcumb %>
				<%= yield  :breadcumb %>
				<% end %>
			</ol>
		</div>
		<div class="col-lg-9">
			<div class="pull-right">
				<% if content_for? :scopes %>
					<%= yield  :scopes %>
				<% end %>
			</div>
		</div>
	</div>

<div class="wrapper wrapper-content animated fadeInRight">
	<div class="row">
		<div class="col-lg-12">
			<div class="ibox float-e-margins">
				<div class="ibox-title">
					<% unless content_for? :title %>
						<% if is_action_edit? && @model.present?%>
							<h5>Editar</h5>
						<% elsif is_action_create? && @model.present? %>
							<h5>Cadastrar</h5>
						<% elsif is_action_show? && @crud_helper.present? %>
							<h5><%= @crud_helper.subtitle(:show) %>
								<small><%= @crud_helper.description(:show) %></small>
							</h5>
						<% elsif @crud_helper.present? %>
							<h5><%= @crud_helper.subtitle(:index) %>
								<small><%= @crud_helper.description(:index) %></small>
							</h5>
						<% end %>
					<% else %>
						<%= yield :title %>
					<% end %>
					<div class="pull-right actions">
						<% if content_for? :actions %>
							<%= yield :actions %>
						<% end %>
					</div>
				</div>
				<div class="ibox-content">
<%end%>
			
					<% if content_for? :corpo %>
						<%= yield  :corpo %>
					<% end %>
<%unless params[:render] == 'modal'%>		

					
				</div>
			</div>
		</div>
	</div>
</div>
<% if content_for? :modal %>
	<%= yield  :modal %>
<% end %>

<%end%>					

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
templus_models-1.2.6 app/views/layouts/_template_raro_crud.html.erb
templus_models-1.2.5 app/views/layouts/_template_raro_crud.html.erb
templus_models-1.2.4 app/views/layouts/_template_raro_crud.html.erb
templus_models-1.2.3 app/views/layouts/_template_raro_crud.html.erb
templus_models-1.2.2 app/views/layouts/_template_raro_crud.html.erb
templus_models-1.2.1 app/views/layouts/_template_raro_crud.html.erb
templus_models-1.2.0 app/views/layouts/_template_raro_crud.html.erb