<% if @templates.any? %>

Templates

<%= link_to new_template_path, class: 'btn btn-primary text-base btn-md gap-2', data: { turbo_frame: :modal } do %> <%= svg_icon('plus', class: 'w-6 h-6 stroke-2') %> <% end %>
<% @templates.each do |template| %>
<%= template.name %>

<%= svg_icon('user', class: 'w-4 h-4') %> <%= template.author.full_name %>

<%= svg_icon('calendar', class: 'w-4 h-4') %> <%= l(template.created_at.in_time_zone(current_account.timezone), format: :short, locale: current_account.locale) %>

<% end %>
<%= render 'shared/pagination', pagy: @pagy, items_name: 'templates' %> <% else %>

👋 Welcome to DocuSeal

Streamline document workflows, from creating customizable templates to filling and signing document forms, with DocuSeal

<%= link_to new_template_path, class: 'base-button', data: { turbo_frame: :modal } do %> <%= svg_icon('plus', class: 'w-6 h-6 stroke-2') %> Create Template <% end %>
<% end %>