Files
docuseal/app/views/submit_form/_decline_form.html.erb
2026-04-19 10:08:16 +03:00

10 lines
585 B
Plaintext

<%= form_for '', url: submit_form_decline_index_path(submitter.slug), method: :post do |f| %>
<div class="form-control mt-4">
<label class="label justify-center" for="reason"><%= t(:notify_the_sender_with_the_reason_you_declined) %></label>
<%= f.text_area :reason, required: true, class: 'base-input w-full py-2 h-40', dir: 'auto', placeholder: t('provide_a_reason'), style: 'height: 200px', rows: '10' %>
</div>
<toggle-submit dir="auto" class="form-control mt-4">
<%= f.button button_title(title: t(:decline)), class: 'base-button' %>
</toggle-submit>
<% end %>