Sha256: 402ff758082748f8fd0f0ce3fd05b0053eb5bc9a684492264904b5aab17e35c3

Contents?: true

Size: 519 Bytes

Versions: 1

Compression:

Stored size: 519 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

1 entries across 1 versions & 1 rubygems

Version Path
presenting-1.0.0 app/views/presentations/_field_search.erb