Sha256: 14980eb4abe1fa1ac76f00105d4f4c80759bc343f62275ead992a437156cc59b

Contents?: true

Size: 892 Bytes

Versions: 13

Compression:

Stored size: 892 Bytes

Contents

<% breadcrumb.add t('b.form_submissions') %>

<%= render 'backend/breadcrumbs' %>

<% 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 %>
        <th>&nbsp;</th>
      </tr>
    </thead>

    <tbody>
      <% @submissions.each do |s| %>
        <tr>
          <% if @form.email_present? %>
            <td><%= mail_to s.data_object.email %></td>
          <% end %>
          <td class="text-right">
            <%= link_to_show backend_form_submission_path(@form, s) %>
            <%= link_to_delete backend_form_submission_path(@form, s) %>
          </td>
        </tr>
      <% end %>
    </tbody>
  </table>

  <%= udongo_paginate @submissions %>

<% else %>
  <p><%= t 'b.msg.form_submissions.explanation' %></p>
<% end %>

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
udongo-6.6.0 app/views/backend/forms/submissions/index.html.erb
udongo-6.5.2 app/views/backend/forms/submissions/index.html.erb
udongo-6.5.1 app/views/backend/forms/submissions/index.html.erb
udongo-6.5.0 app/views/backend/forms/submissions/index.html.erb
udongo-6.4.1 app/views/backend/forms/submissions/index.html.erb
udongo-6.4.0 app/views/backend/forms/submissions/index.html.erb
udongo-6.3.2 app/views/backend/forms/submissions/index.html.erb
udongo-6.3.1 app/views/backend/forms/submissions/index.html.erb
udongo-6.3.0 app/views/backend/forms/submissions/index.html.erb
udongo-6.2.1 app/views/backend/forms/submissions/index.html.erb
udongo-6.2.0 app/views/backend/forms/submissions/index.html.erb
udongo-6.1.0 app/views/backend/forms/submissions/index.html.erb
udongo-6.0.0 app/views/backend/forms/submissions/index.html.erb