Sha256: b10d6f6bc99f47aa517d94772c5ed0ff127581c10e46e1a2e1824032e435b097
Contents?: true
Size: 1.18 KB
Versions: 1
Compression:
Stored size: 1.18 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 ), {}, class: 'select2', required: true = link_to '[+]', new_email_template_path, target: :_blank .flex-row %label Subject = f.text_field :subject, class: 'w-100' .field -## No tinymce, b/c I must allow body to be empty, to be overridden by the template. = f.text_area :body .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, required: true, placeholder: 'YYYY-MM-DD', value: Time.now.strftime('%Y-%m-%d'), size: 10, class: 'input-date' = f.submit 'Send/Schedule'
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
wco_email-0.1.1.44 | app/views/wco_email/contexts/_form_reply.haml |