You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
docuseal/app/views/submissions/_send_sms.html.erb

12 lines
488 B

<% if Sms.enabled_for?(current_account) && local_assigns[:submitter]&.phone.present? %>
<div class="form-control mt-2">
<label class="label cursor-pointer" for="send_sms_toggle">
<span class="label-text">
<%= local_assigns[:resend_sms] ? t('re_send_sms') : t('send_sms') %>
on save
</span>
<%= check_box_tag 'submitter[send_sms]', '1', local_assigns.fetch(:checked, false), id: 'send_sms_toggle', class: 'toggle' %>
</label>
</div>
<% end %>