ref: master
plugins/custom_forms/views/custom_forms_plugin_myprofile/submissions.html.erb
<% self.extend CustomFormsPlugin::Helper %><%= _('Submissions for %s') % @form.name %>
<% if @form.submissions.empty? %> <%= _('There are no submissions for this form.') %> <% else %><%= _('Download all form responses as') %>: <%= link_to '[CSV]', :format => 'csv' %>
<%= labelled_select(_('Sort by')+': ', :sort_by, :first, :last, @sort_by, [['created_at', _('Time')], ['author_name', c_('Author')]], :class => 'filter') %>
<%= c_('Author') %> | <%= _('Time') %> |
---|---|
<%= link_to(author, {:action => 'show_submission', :id => submission.id}) %> | <%= time_format(submission.created_at) %> |