Sha256: 3f11d4691224a06c7a332cdf114fac57eab6b4e097a777fe9a37520eff09981d

Contents?: true

Size: 877 Bytes

Versions: 53

Compression:

Stored size: 877 Bytes

Contents

- sch_a = scheduled_email_action
- url = sch_a.new_record? ? scheduled_email_actions_path : scheduled_email_action_path(sch_a.id)

.scheduled-email-actions--form
  = form_for scheduled_email_action, url: url, as: :sch do |f|
    .header
      %h5.title Schedule an email action

    .flex-row
      = f.label :lead
      = f.select :lead_id, options_for_select(@leads_list, selected: sch_a[:lead_id]||params[:lead_id] ), {}, class: 'select2'
    .flex-row
      %label State
      = f.select :state, options_for_select(::Office::ScheduledEmailAction::STATES, selected: sch_a.state )
    .flex-row
      = f.label :email_action
      = f.select :email_action, options_for_select( @email_actions_list, selected: sch_a[:email_action_id] ), {}, class: 'select2'
    .flex-row
      = f.label :perform_at
      = f.text_field :perform_at

    .actions
      = submit_tag 'Schedule'

Version data entries

53 entries across 53 versions & 1 rubygems

Version Path
ish_manager-0.1.8.440 app/views/ish_manager/scheduled_email_actions/_form.haml
ish_manager-0.1.8.439 app/views/ish_manager/scheduled_email_actions/_form.haml
ish_manager-0.1.8.438 app/views/ish_manager/scheduled_email_actions/_form.haml
ish_manager-0.1.8.437 app/views/ish_manager/scheduled_email_actions/_form.haml
ish_manager-0.1.8.436 app/views/ish_manager/scheduled_email_actions/_form.haml
ish_manager-0.1.8.435 app/views/ish_manager/scheduled_email_actions/_form.haml
ish_manager-0.1.8.434 app/views/ish_manager/scheduled_email_actions/_form.haml
ish_manager-0.1.8.433 app/views/ish_manager/scheduled_email_actions/_form.haml
ish_manager-0.1.8.432 app/views/ish_manager/scheduled_email_actions/_form.haml
ish_manager-0.1.8.431 app/views/ish_manager/scheduled_email_actions/_form.haml
ish_manager-0.1.8.430 app/views/ish_manager/scheduled_email_actions/_form.haml
ish_manager-0.1.8.429 app/views/ish_manager/scheduled_email_actions/_form.haml
ish_manager-0.1.8.428 app/views/ish_manager/scheduled_email_actions/_form.haml
ish_manager-0.1.8.427 app/views/ish_manager/scheduled_email_actions/_form.haml
ish_manager-0.1.8.426 app/views/ish_manager/scheduled_email_actions/_form.haml
ish_manager-0.1.8.425 app/views/ish_manager/scheduled_email_actions/_form.haml
ish_manager-0.1.8.424 app/views/ish_manager/scheduled_email_actions/_form.haml
ish_manager-0.1.8.423 app/views/ish_manager/scheduled_email_actions/_form.haml
ish_manager-0.1.8.422 app/views/ish_manager/scheduled_email_actions/_form.haml
ish_manager-0.1.8.421 app/views/ish_manager/scheduled_email_actions/_form.haml