Sha256: a967d96e8eccfd2acff19c66299a7ea8a412bc5bda967e55b7fe4fbe69c154a5

Contents?: true

Size: 1.04 KB

Versions: 4

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 "#{@crud_helper.title}"%>
					<%@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

4 entries across 4 versions & 1 rubygems

Version Path
templus_models-1.5.15 app/views/crud/_search.html.erb
templus_models-1.5.14 app/views/crud/_search.html.erb
templus_models-1.5.13 app/views/crud/_search.html.erb
templus_models-1.5.12 app/views/crud/_search.html.erb