Sha256: b2eb6d30b5ea08ade116bc0076c725ea4a47fff7427c53a27c2969f1ebdcb1ca

Contents?: true

Size: 415 Bytes

Versions: 1

Compression:

Stored size: 415 Bytes

Contents

<label>
  <h3><%= Alchemy.t("name", scope: ["filters", resource_name, filter.name]) || Alchemy.t('Filter') %></h3>
  <%= select_tag(
    filter.name,
    options_for_select(
      filter.options_for_select, params[:filter].try(:[], filter.name)
    ),
    include_blank: Alchemy.t(:all, scope: ['resources', resource_name, 'filters']),
    data: { remote: !!request.xhr? },
    is: 'alchemy-select'
  ) %>
</label>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
alchemy_cms-7.1.0.pre.b1 app/views/alchemy/admin/resources/_filter.html.erb