use account archived at

This commit is contained in:
Pete Matsyburka
2024-11-15 22:17:55 +02:00
parent f514654c40
commit ca8de23082
3 changed files with 13 additions and 5 deletions
+1 -1
View File
@@ -25,7 +25,7 @@
</div>
</div>
</div>
<% unless @template.archived_at? %>
<% if !@template.archived_at? && !@template.account.archived_at? %>
<%= form_for @submitter, url: start_form_path(@template.slug), data: { turbo_frame: :_top }, method: :put, html: { class: 'space-y-4' } do |f| %>
<div dir="auto" class="form-control !mt-0">
<%= f.label :email, t('email'), class: 'label' %>