Sha256: a07ff89649d229b015befd6f70f5e13ee1d8bd9ec857595c2f3204bbed660656

Contents?: true

Size: 977 Bytes

Versions: 33

Compression:

Stored size: 977 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><%= t 'b.submitted_at' %></th>
        <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><%= l s.created_at %></td>
          <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

33 entries across 33 versions & 1 rubygems

Version Path
udongo-7.9.0 app/views/backend/forms/submissions/index.html.erb
udongo-7.8.1 app/views/backend/forms/submissions/index.html.erb
udongo-7.8.0 app/views/backend/forms/submissions/index.html.erb
udongo-7.7.2 app/views/backend/forms/submissions/index.html.erb
udongo-7.7.1 app/views/backend/forms/submissions/index.html.erb
udongo-7.7.0 app/views/backend/forms/submissions/index.html.erb
udongo-7.6.2 app/views/backend/forms/submissions/index.html.erb
udongo-7.6.1 app/views/backend/forms/submissions/index.html.erb
udongo-7.6.0 app/views/backend/forms/submissions/index.html.erb
udongo-7.5.1 app/views/backend/forms/submissions/index.html.erb
udongo-7.5.0 app/views/backend/forms/submissions/index.html.erb
udongo-7.4.2 app/views/backend/forms/submissions/index.html.erb
udongo-7.4.1 app/views/backend/forms/submissions/index.html.erb
udongo-7.4.0 app/views/backend/forms/submissions/index.html.erb
udongo-7.3.5 app/views/backend/forms/submissions/index.html.erb
udongo-7.3.4 app/views/backend/forms/submissions/index.html.erb
udongo-7.3.3 app/views/backend/forms/submissions/index.html.erb
udongo-7.3.2 app/views/backend/forms/submissions/index.html.erb
udongo-7.3.1 app/views/backend/forms/submissions/index.html.erb
udongo-7.2.1 app/views/backend/forms/submissions/index.html.erb