aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/rails/conductor/action_mailbox/inbound_emails/new.html.erb
blob: be989ff0bce8bd02a1dbef5907ee3cda10a666eb (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
<% 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 :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 %>