Sha256: 12f365f1d7254c790622eb21c9d7bf94db42137fe97c76c3b29dbc9a5783c57f

Contents?: true

Size: 1.05 KB

Versions: 5

Compression:

Stored size: 1.05 KB

Contents

<div class="filter">
  <%= select_tag(
    "contact_group[filters_attributes][#{count}][column]",
    options_for_select(AlchemyCrm::Contact::COLUMN_NAMES, filter.column),
    :id => "filter_column_#{count}",
    :class => 'alchemy_selectbox medium'
  ) %>
  <%= select_tag(
    "contact_group[filters_attributes][#{count}][operator]",
    options_for_select(AlchemyCrm::ContactGroupFilter::OPERATORS, filter.operator),
    :id => "filter_operator_#{count}",
    :class => 'alchemy_selectbox short'
  ) %>
  <%= text_field_tag(
    "contact_group[filters_attributes][#{count}][value]",
    filter.value,
    :class => 'thin_border',
    :id => "filter_value_#{count}"
  ) %>
  <%- unless filter.new_record? -%>
  <input type="hidden" value="<%= filter.id %>" name="contact_group[filters_attributes][<%= count %>][id]" />
  <%- end -%>
  <span class="remove_filter">
    <%= link_to_function(
      render_icon('close small'),
      "AlchemyCrm.removeContactGroupFilter(this, '#{filter.id}', '#{count}')",
      :title => alchemy_crm_t(:remove_filter)
    ) %>
  </span>
</div>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
alchemy_crm-2.0.5 app/views/alchemy_crm/admin/contact_groups/_filter.html.erb
alchemy_crm-2.0.4.1 app/views/alchemy_crm/admin/contact_groups/_filter.html.erb
alchemy_crm-2.1.0a app/views/alchemy_crm/admin/contact_groups/_filter.html.erb
alchemy_crm-2.0.3 app/views/alchemy_crm/admin/contact_groups/_filter.html.erb
alchemy_crm-2.0.2 app/views/alchemy_crm/admin/contact_groups/_filter.html.erb