Sha256: 20c278ee82cd56dece283cfcec41c88f54e02d1599912b20d35814f2ec1e1324

Contents?: true

Size: 1.26 KB

Versions: 10

Compression:

Stored size: 1.26 KB

Contents

%li.event_rule{"data-index" => index}
  = link_to image_tag('delete.png', :size => '16x16', :alt => 'Remove Rule'), nil, :class => "remove_event_rule"

  = r.hidden_field(:id) unless r.object.new_record?

  If
  = event_category_select(r)

  = event_fields_for(r.object, 'cloudfuji_event_received') do
    = r.text_field :cloudfuji_event, :class => "cloudfuji_event"
    is received, and contains

  = event_fields_for(r.object, 'lead_attribute_changed') do
    = r.select :lead_attribute, lead_attributes, :class => "lead_attribute", :include_blank => true
    changes, and equals

  = content_tag(:small, "(optional)") << ":".html_safe
  = r.text_field :match, :class => "match_input"

  %small
    (Case insensitive?
    = r.check_box(:case_insensitive_matching) << h(")")

  then
  = action_select(r)

  = action_fields_for(r.object, 'change_lead_score') do
    by
    = r.text_field :change_score_by, :class => "numeric_input"
    points.

  -# Add/Remove tag actions share the same field
  = action_fields_for(r.object, %w(add_tag remove_tag)) do
    = r.text_field :tag, :class => "tag_input"

  = action_fields_for(r.object, %w(change_lead_score send_notification)) do
    %small
      (Limit per lead:
      = r.text_field(:limit_per_lead, :class => "numeric_input") << h(")")

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
ffcrm_cloudfuji-0.2.11 app/views/admin/event_rules/_form.html.haml
ffcrm_cloudfuji-0.2.10 app/views/admin/event_rules/_form.html.haml
ffcrm_cloudfuji-0.2.9 app/views/admin/event_rules/_form.html.haml
ffcrm_cloudfuji-0.2.8 app/views/admin/event_rules/_form.html.haml
ffcrm_cloudfuji-0.2.7 app/views/admin/event_rules/_form.html.haml
ffcrm_cloudfuji-0.2.6 app/views/admin/event_rules/_form.html.haml
ffcrm_cloudfuji-0.2.5 app/views/admin/event_rules/_form.html.haml
ffcrm_cloudfuji-0.2.4 app/views/admin/event_rules/_form.html.haml
ffcrm_cloudfuji-0.2.3 app/views/admin/event_rules/_form.html.haml
ffcrm_cloudfuji-0.2.2 app/views/admin/event_rules/_form.html.haml