Sha256: cf48604770494577273b7f0ecd51d2ae60c258b4dfa080c6855cc6a1bbce0551

Contents?: true

Size: 1.1 KB

Versions: 10

Compression:

Stored size: 1.1 KB

Contents

-# = ctx.inspect

.email-contexts--form-reply.form-mini
  = form_for ctx do |f|

    .flex-row
      .flex-row
        %label from
        = f.select :from_email, options_for_select( WcoEmail::EmailTemplate.from_emails_list, selected: ctx.from_email ), {}, class: 'select2'
        %label to (lead)
        = f.select :lead, options_for_select( @leads_list, selected: lead_id ), {}, class: 'select2', required: true
      .flex-row
        = f.label :template
        = f.select :email_template_id, options_for_select( @email_templates_list, selected: ctx.email_template_id ), {}, class: 'select2', required: true
        = link_to '[+]', new_email_template_path, target: :_blank
    .flex-row
      %label Subject
      = f.text_field :subject, class: 'w-100'
    .field
      = f.text_area :body, class: 'tinymce'
    .flex-row
      .flex-row
        %label Respond inline?
        = check_box_tag :respond_inline, message.id, checked: true
      .flex-row
        = f.label :send_at
        = f.text_field :send_at, placeholder: 'YYYY-MM-DD', value: Time.now, size: 30, class: 'input-date'
      = f.submit 'Send/Schedule'

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
wco_email-0.1.1.62 app/views/wco_email/contexts/_form_reply.haml
wco_email-0.1.1.61 app/views/wco_email/contexts/_form_reply.haml
wco_email-0.1.1.60 app/views/wco_email/contexts/_form_reply.haml
wco_email-0.1.1.59 app/views/wco_email/contexts/_form_reply.haml
wco_email-0.1.1.58 app/views/wco_email/contexts/_form_reply.haml
wco_email-0.1.1.56 app/views/wco_email/contexts/_form_reply.haml
wco_email-0.1.1.55 app/views/wco_email/contexts/_form_reply.haml
wco_email-0.1.1.54 app/views/wco_email/contexts/_form_reply.haml
wco_email-0.1.1.53 app/views/wco_email/contexts/_form_reply.haml
wco_email-0.1.1.52 app/views/wco_email/contexts/_form_reply.haml