<% if result.is_text %> <% elsif result.is_table %> <% elsif result.is_asset %> <% end %>
<% if can_edit_result(result) %> <% end %> <% if can_archive_result(result) and not result.archived %> <%= form_for :result, url: result_path_of_type(result), method: :patch, html: {id: 'result-archive-form-' + result.id.to_s } do |f| %> <%= f.hidden_field :archived, value: true %> <% end %> <% end %>
<%= result.name %> | <%= raw t'my_modules.results.published_on', timestamp: l(result.created_at, format: :full), user: result.user.full_name %>
<%= render partial: 'my_modules/result_user_generated.html.erb', locals: { result: result } %>
<% if can_view_result_comments(@my_module) %>
<% end %>