Sha256: dbdbc075b5f50abddd02e4ff6499c360b67abf55c9112af8d3da7464f1c8c7b6

Contents?: true

Size: 1.04 KB

Versions: 12

Compression:

Stored size: 1.04 KB

Contents

<div class="modal inmodal" id="modal_search" tabindex="-1" role="dialog" aria-hidden="true">
	<div class="modal-dialog modal-lg">
		<div class="modal-content animated bounceInRight">
			<div class="modal-header">
				<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Fechar</span></button>
				<i class="fa fa-search modal-icon"></i>
				<h4 class="modal-title">Pesquisa</h4>
				<small class="font-bold"></small>
			</div>
			<div class="modal-body">
				<%=raro_search_form(@model, 'records','records',"#{@url}/query") do%>
					<%raro_group "#{@model.name}"%>
					<%@crud_helper.search_fields.each do |att| %>
						<% if att[:sf].present? && !att[:sf][:visible_if].nil?%>
							<% if ((att[:sf][:visible_if].class == Proc && !att[:sf][:visible_if].call(att)) || (att[:sf][:visible_if].class != Proc && !att[:sf][:visible_if])) %>
								<% next %>
							<% end %>
						<% end %>
						<%raro_field att[:attribute],att[:sf]%>
					<%end%>
				<%end%>
			</div>
		</div>
	</div>
</div>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
templus_models-1.5.11 app/views/crud/_search.html.erb
templus_models-1.5.10 app/views/crud/_search.html.erb
templus_models-1.5.9 app/views/crud/_search.html.erb
templus_models-1.5.8 app/views/crud/_search.html.erb
templus_models-1.5.7 app/views/crud/_search.html.erb
templus_models-1.5.6 app/views/crud/_search.html.erb
templus_models-1.5.5 app/views/crud/_search.html.erb
templus_models-1.5.4 app/views/crud/_search.html.erb
templus_models-1.5.3 app/views/crud/_search.html.erb
templus_models-1.5.2 app/views/crud/_search.html.erb
templus_models-1.5.1 app/views/crud/_search.html.erb
templus_models-1.5.0 app/views/crud/_search.html.erb