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">×</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