Sha256: fd58ca58a6c43173dc72ddcd569ee88726a194440671a84f428c3d53ce1986a9

Contents?: true

Size: 905 Bytes

Versions: 6

Compression:

Stored size: 905 Bytes

Contents

<%= render 'backend/breadcrumbs' %>
<%= render 'filter' %>

<% if @submissions.any? %>
  <table class="table table-striped table-hover">
    <thead class="thead-inverse">
      <tr>
        <% if @form.email_present? %>
          <th><%= t('b.email') %></th>
        <% end %>
        <%= @form.datagrid.column_headers(@filter) %>
        <th>&nbsp;</th>
      </tr>
    </thead>

    <tbody>
      <% @submissions.each do |s| %>
        <tr>
          <% if @form.email_present? %>
            <td><%= mail_to s.data_object.email %></td>
          <% end %>
          <%= @form.datagrid.column_values(s) %>
          <td class="text-xs-right">
            <%= link_to icon(:pencil_square_o), edit_backend_form_submission_path(@form, s) %>
          </td>
        </tr>
      <% end %>
    </tbody>
  </table>

  <%= udongo_paginate @submissions %>
<% else %>
  <p><%= t 'b.msg.no_items' %></p>
<% end %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
udongo-2.0.4 app/views/backend/forms/submissions/index.html.erb
udongo-2.0.3 app/views/backend/forms/submissions/index.html.erb
udongo-2.0.2 app/views/backend/forms/submissions/index.html.erb
udongo-2.0.1 app/views/backend/forms/submissions/index.html.erb
udongo-2.0.0 app/views/backend/forms/submissions/index.html.erb
udongo-1.0.4 app/views/backend/forms/submissions/index.html.erb