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