Description Postal mail reports app
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

62 lines
1.4 KiB

<%= form_with(model: delivery) do |form| %>
<% if delivery.errors.any? %>
<div style="color: red">
<h2><%= pluralize(delivery.errors.count, "error") %> prohibited this delivery from being saved:</h2>
<ul>
<% delivery.errors.each do |error| %>
<li><%= error.full_message %></li>
<% end %>
</ul>
</div>
<% end %>
<div>
<%= form.label :message_id, style: "display: block" %>
<%= form.text_field :message_id %>
</div>
<div>
<%= form.label :status, style: "display: block" %>
<%= form.text_field :status %>
</div>
<div>
<%= form.label :code, style: "display: block" %>
<%= form.number_field :code %>
</div>
<div>
<%= form.label :output, style: "display: block" %>
<%= form.text_field :output %>
</div>
<div>
<%= form.label :details, style: "display: block" %>
<%= form.text_field :details %>
</div>
<div>
<%= form.label :sent_with_ssl, style: "display: block" %>
<%= form.check_box :sent_with_ssl %>
</div>
<div>
<%= form.label :log_id, style: "display: block" %>
<%= form.text_field :log_id %>
</div>
<div>
<%= form.label :timestamp, style: "display: block" %>
<%= form.text_field :timestamp %>
</div>
<div>
<%= form.label :time, style: "display: block" %>
<%= form.text_field :time %>
</div>
<div>
<%= form.submit %>
</div>
<% end %>