Sha256: c986e2836cd311fe8a62aa2c65c635eeb78edcaf6b734673bc2c6cf083cd4f79

Contents?: true

Size: 825 Bytes

Versions: 78

Compression:

Stored size: 825 Bytes

Contents

.email-actions--form
  = form_for email_action do |f|
    .header
      %h5.title Schedule an Email Action

    .flex-row
      %label Status
      = f.select :status, options_for_select(WcoEmail::EmailAction::STATUSES, selected: email_action.status )

    .flex-row
      = f.label :lead
      = f.select :lead_id, options_for_select(@leads_list, selected: email_action[:lead_id]||params[:lead_id] ), {}, class: 'select2'
      = f.label :email_action_template
      = f.select :email_action_template, options_for_select( @email_action_templates_list, selected: email_action[:email_action_template_id] ), {}, class: 'select2'

    .flex-row
      = f.label :perform_at
      = f.text_field :perform_at, value: email_action.new_record? ? Time.now : email_action.perform_at, class: 'flex-grow-1'
      = submit_tag 'Schedule'

Version data entries

78 entries across 78 versions & 1 rubygems

Version Path
wco_email-0.1.1.94 app/views/wco_email/email_actions/_form.haml
wco_email-0.1.1.93 app/views/wco_email/email_actions/_form.haml
wco_email-0.1.1.92 app/views/wco_email/email_actions/_form.haml
wco_email-0.1.1.91 app/views/wco_email/email_actions/_form.haml
wco_email-0.1.1.90 app/views/wco_email/email_actions/_form.haml
wco_email-0.1.1.89 app/views/wco_email/email_actions/_form.haml
wco_email-0.1.1.88 app/views/wco_email/email_actions/_form.haml
wco_email-0.1.1.86 app/views/wco_email/email_actions/_form.haml
wco_email-0.1.1.85 app/views/wco_email/email_actions/_form.haml
wco_email-0.1.1.84 app/views/wco_email/email_actions/_form.haml
wco_email-0.1.1.83 app/views/wco_email/email_actions/_form.haml
wco_email-0.1.1.82 app/views/wco_email/email_actions/_form.haml
wco_email-0.1.1.81 app/views/wco_email/email_actions/_form.haml
wco_email-0.1.1.80 app/views/wco_email/email_actions/_form.haml
wco_email-0.1.1.79 app/views/wco_email/email_actions/_form.haml
wco_email-0.1.1.78 app/views/wco_email/email_actions/_form.haml
wco_email-0.1.1.77 app/views/wco_email/email_actions/_form.haml
wco_email-0.1.1.76 app/views/wco_email/email_actions/_form.haml
wco_email-0.1.1.75 app/views/wco_email/email_actions/_form.haml
wco_email-0.1.1.72 app/views/wco_email/email_actions/_form.haml