2023-05-31 23:19:20 +03:00
|
|
|
<%= link_to 'Create Template', new_template_path, data: { turbo_frame: :modal } %>
|
2023-06-01 01:13:12 +03:00
|
|
|
<% @templates.each do |template| %>
|
|
|
|
|
<div>
|
|
|
|
|
<%= template.name %> |
|
|
|
|
|
<a href="<%= template_path(template) %>">edit</a> |
|
|
|
|
|
<a href="<%= template_submissions_path(template) %>">submissions</a> |
|
|
|
|
|
</div>
|
|
|
|
|
<% end %>
|