Sha256: 6e7a28090031fb2b30b1345b75a546e3584edfb7b10e338ccbf9a221e055a998
Contents?: true
Size: 534 Bytes
Versions: 5
Compression:
Stored size: 534 Bytes
Contents
<div class="presentation-search"> <%= form_tag @search.url, :method => :get, :class => ("compact" if @search.compact) do %> <% @search.fields.each do |field| %> <fieldset> <label><%= field.name %></label> <%= present(field, "#{field.type}_search", :name => "search[#{field.param}][value]") %> </fieldset> <% end %> <fieldset class="submit"> <input type="submit" value="Search" class="submit" /> <%= link_to 'reset', @search.url %> </fieldset> <% end %> </div>
Version data entries
5 entries across 5 versions & 1 rubygems