Sha256: e6c032b7bcb9374877414b0ce761679bf389dfccb7014bc2a5373d518ad1c6f8

Contents?: true

Size: 486 Bytes

Versions: 6

Compression:

Stored size: 486 Bytes

Contents

<%
unless @model_info.data_items.filter_fields.empty?
    list_uri = admin_list_uri(@model)
    %><form class="form-box search" action="<%= list_uri %>" data-turboform>
        <div class="input-holder">
          <input type="text" name="q" value="<%= params[:q] %>"/>
        </div>
        <button class="btn blue-btn"><%= t('rademade_admin.search') %></button>
        <a class="btn yellow-btn" href="<%= list_uri %>"><%= t('rademade_admin.clear_search') %></a>
    </form><%
end %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rademade_admin-0.2.2 app/views/rademade_admin/_blocks/_search.html.erb
rademade_admin-0.2.1 app/views/rademade_admin/_blocks/_search.html.erb
rademade_admin-0.2.0 app/views/rademade_admin/_blocks/_search.html.erb
rademade_admin-0.1.6 app/views/rademade_admin/_blocks/_search.html.erb
rademade_admin-0.1.5 app/views/rademade_admin/_blocks/_search.html.erb
rademade_admin-0.1.4 app/views/rademade_admin/_blocks/_search.html.erb