Sha256: d0329a91045267a0df2e1a7bf18f9105f5bc51e0d9f899a9612ed932769edd96

Contents?: true

Size: 775 Bytes

Versions: 4

Compression:

Stored size: 775 Bytes

Contents

<h1>Configure</h1>

<% if message = flash[:error] %>
  <div>
    <strong style="color: red;">Error: <%= message %></strong>
  </div>
<% end %>

<div>
<%= form_tag({action: :block, method: :post}, multipart: true) do %>
  <b>Block Mailer:</b>
  <br><%=select_tag(:mailer, options_for_select(@mailers)) %>
  <br><%= submit_tag 'Block', class: 'btn', confirm: 'The chosen mailer will not be blocked, Continue?'%>
<% end %>
</div>

<div>  
<%= form_tag({action: :unblock, method: :post}, multipart: true) do %>
  <b>Unblock Mailer:</b>
  <br><%=select_tag(:mailer, options_for_select(@blocked_mailers)) %>
  <br><%= submit_tag 'Unblock', class: 'btn', confirm: 'The chosen mailer will be unblocked, Continue?'%>
<% end %>
</div>

<%=link_to '< back to mails', action: :index %> 

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
delivery_uncle-0.1.5 app/views/delivery_uncle/email_requests/configure.html.erb
delivery_uncle-0.1.4 app/views/delivery_uncle/email_requests/configure.html.erb
delivery_uncle-0.1.3 app/views/delivery_uncle/email_requests/configure.html.erb
delivery_uncle-0.1.2 app/views/delivery_uncle/email_requests/configure.html.erb