Sha256: 9fbe98ce6e001da977f8b3388eb869c3a70e24b33935d19cbd007abebafc8f2e

Contents?: true

Size: 1.05 KB

Versions: 6

Compression:

Stored size: 1.05 KB

Contents

<div class="mt20">
  <div class="mb20">
    <%= search_form_for @q, class: 'form-inline pull-right' do |f| %>
      <%= f.search_field :email_cont, class: 'form-control mr10', placeholder: 'Search ...' %>
      <%= f.submit class: 'btn btn-primary' %>
    <% end %>
    <h4>Conversions</h4>
  </div>

  <%= content_tag :table, class: 'table table-flush' do %>
    <tr>
      <th><%= sort_link(@q, :email) %></th>
      <th><%= sort_link(@q, :created_at) %></th>
      <th colspan="3"></th>
    </tr>
    <% @conversions.each do |conversion| %>
      <tr>
        <td><%= conversion.email %></td>
        <td><%= conversion.created_at %></td>
        <td class="text-right">
          <%= link_to edit_conversion_path(conversion), class: 'btn btn-warning btn-sm' do %>
            <i class="fa fa-edit"></i>
          <% end %>
          <%= link_to conversion, method: :delete, data: { confirm: 'Are you sure?' }, class: 'btn btn-danger btn-sm' do %>
            <i class="fa fa-remove"></i>
          <% end %>
        </td>
      </tr>
    <% end %>
  <% end %>
</div>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
mvpkit-2.0.2 project/app/engines/admin/app/views/admin/conversions/index.html.erb
mvpkit-2.0.1 project/app/engines/admin/app/views/admin/conversions/index.html.erb
mvpkit-2.0.0 project/app/engines/admin/app/views/admin/conversions/index.html.erb
mvpkit-1.1.2 project/app/engines/admin/app/views/admin/conversions/index.html.erb
mvpkit-1.1.1 project/app/engines/admin/app/views/admin/conversions/index.html.erb
mvpkit-1.1.0 project/app/engines/admin/app/views/admin/conversions/index.html.erb