Sha256: b2d3c8e504f9ee9eb9ea95c06f21f460f151ae18b780ced4181bb8623ff37820
Contents?: true
Size: 1.8 KB
Versions: 2
Compression:
Stored size: 1.8 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"> <% if is_action_edit? && @model.present?%> <h5>Editar <small> vocĂȘ pode editar todos os seus dados. <%=@model.name.humanize %></small> </h5> <% elsif is_action_create? && @model.present? %> <h5>Cadastrar <small> vocĂȘ pode cadastrar todos os seus dados. <%=@model.name.humanize %></small> </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 %> <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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
templus_models-1.0.1 | app/views/layouts/_template_raro_crud.html.erb |
templus_models-1.0.0 | app/views/layouts/_template_raro_crud.html.erb |