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> </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