Sha256: b3b6b534845ea12bdf33ba161e69b76e9147f40e08775a9b3d1983c5236a9598

Contents?: true

Size: 861 Bytes

Versions: 2

Compression:

Stored size: 861 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| %>
			<%=render_link(link)%>
		<%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

2 entries across 2 versions & 1 rubygems

Version Path
templus_models-1.0.1 app/views/crud/_crud_template.html.erb
templus_models-1.0.0 app/views/crud/_crud_template.html.erb