Sha256: 99a87314a3315c84cddfcbf0446e8f1bbc8c4a9e8b8103d83820752dde459cd4
Contents?: true
Size: 1.8 KB
Versions: 1
Compression:
Stored size: 1.8 KB
Contents
<div id="dashboard"> <section class="search-form"> <%= form_with url: ui_path(params[:id]), method: :get do |form| %> <div class="form-field"> <%= form.label :mailer_name, 'Mailer', class: 'form-label' %> <%= form.text_field :mailer_name, class: 'form-value', value: params[:mailer_name] %> </div> <div class="form-field"> <%= form.label :action_name, 'Action', class: 'form-label' %> <%= form.text_field :action_name, class: 'form-value', value: params[:action_name] %> </div> <div class="form-field"> <%= form.label :receiver, 'Receiver', class: 'form-label' %> <%= form.text_field :receiver, class: 'form-value', value: params[:receiver] %> </div> <%= form.submit 'Search', class: 'button' %> <% end %> </section> <table class="messages" cellspacing="0"> <thead> <tr> <th>ID</th> <th>Mailer</th> <th>Action</th> <th>Send to</th> <th>Action params</th> <th>Mailer params</th> <th></th> </tr> </thead> <tbody> <% @messages.each do |message| %> <tr> <td><%= message.id %></td> <td><%= message.mailer %></td> <td><%= message.action %></td> <td> <% message.send_to.each do |receiver| %> <p><%= receiver %></p> <% end %> </td> <td><%= message.params['action_params'] %></td> <td><%= message.params['mailer_params'] %></td> <td class="actions"> <%= button_to 'Resend', ui_message_path(message.uuid), method: :patch, class: 'button' %> <%= button_to 'Destroy', ui_message_path(message.uuid), method: :delete, class: 'button warning' %> </td> </tr> <% end %> </tbody> </table> </div>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
emailbutler-0.4.0 | app/views/emailbutler/ui/show.html.erb |