Sha256: 4764a5d0e8863c8d84d6e430ae7b580312c3710246e89920c70a899b4907ca15

Contents?: true

Size: 982 Bytes

Versions: 12

Compression:

Stored size: 982 Bytes

Contents

<%unless params[:render] == 'modal'%>
	<% content_for :breadcumb do %>
		<li class=""><%= link_to @crud_helper.title, @crud_helper.root_path %></li>
	<% end %>
		

	<% content_for :header do %>
		<%=@crud_helper.title%>
	<% end %>

	<% content_for :scopes do %>
		<%= render "/crud/scopes" %>
	<% end %>


	<% content_for :actions do %>
		<% @crud_helper.top_links.each do |link| %>
			<% if link[:can].present? %>
				<%=render_link(link) if self.instance_eval &link[:can]%>
			<% else %>
				<%=render_link(link)%>
			<% end %>
		<%end%>
		<% if @crud_helper.search_fields.present? %>
			<button id="button_search_<%=@model.name.underscore%>" class="btn btn-warning btn-rounded" data-toggle="modal" data-target="#modal_search">
				<i class="fa fa-search"></i>
			</button>
		<% end %>
	<% end %>

	<% content_for :modal do %>
	<% if @crud_helper.search_fields.present? %>
		<%= render "/crud/search" %>
	<% end %>
	<% end %>
	
<%end%>

<%= render "layouts/template_raro_crud" %>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
templus_models-1.2.6 app/views/crud/_crud_template.html.erb
templus_models-1.2.5 app/views/crud/_crud_template.html.erb
templus_models-1.2.4 app/views/crud/_crud_template.html.erb
templus_models-1.2.3 app/views/crud/_crud_template.html.erb
templus_models-1.2.2 app/views/crud/_crud_template.html.erb
templus_models-1.2.1 app/views/crud/_crud_template.html.erb
templus_models-1.2.0 app/views/crud/_crud_template.html.erb
templus_models-1.0.6 app/views/crud/_crud_template.html.erb
templus_models-1.0.5 app/views/crud/_crud_template.html.erb
templus_models-1.0.4 app/views/crud/_crud_template.html.erb
templus_models-1.0.3 app/views/crud/_crud_template.html.erb
templus_models-1.0.2 app/views/crud/_crud_template.html.erb