aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailbox/app/views/rails/conductor/action_mailbox/inbound_emails/new.html.erb
blob: 7f1ec74496bef0af1b1f04305f12755d2e064a52 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<% provide :title, "Deliver new inbound email" %>

<h1>Deliver new inbound email</h1>

<%= form_with(url: main_app.rails_conductor_inbound_emails_path, scope: :mail, local: true) do |form| %>
  <div>
    <%= form.label :from, "From" %><br>
    <%= form.text_field :from %>
  </div>

  <div>
    <%= form.label :to, "To" %><br>
    <%= form.text_field :to %>
  </div>

  <div>
    <%= form.label :cc, "CC" %><br>
    <%= form.text_field :cc %>
  </div>

  <div>
    <%= form.label :bcc, "BCC" %><br>
    <%= form.text_field :bcc %>
  </div>

  <div>
    <%= form.label :in_reply_to, "In-Reply-To" %><br>
    <%= form.text_field :in_reply_to %>
  </div>

  <div>
    <%= form.label :subject, "Subject" %><br>
    <%= form.text_field :subject %>
  </div>

  <div>
    <%= form.label :body, "Body" %><br>
    <%= form.text_area :body, size: "40x20" %>
  </div>

  <%= form.submit "Deliver inbound email" %>
<% end %>