Update confirmation messages for delete sms-sender and delete reply-to-email

This commit is contained in:
Pea Tyczynska
2018-11-16 17:05:59 +00:00
parent 7f4580cb82
commit 87c92e093b
4 changed files with 15 additions and 33 deletions

View File

@@ -11,20 +11,9 @@
{% block maincolumn_content %}
{% if confirm_delete %}
<div class="bottom-gutter">
{% call banner_wrapper(type='dangerous', subhead="Are you sure you want to delete this email reply-to address?") %}
<form method='post'>
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}" />
<input type="submit" class="button" name="delete" value="Confirm" />
</form>
{% endcall %}
</div>
{% else %}
<h1 class="heading-large">
Edit email reply to address
</h1>
{% endif %}
<h1 class="heading-large">
Edit email reply to address
</h1>
{% call form_wrapper() %}
{{ textbox(
form.email_address,

View File

@@ -11,20 +11,9 @@
{% block maincolumn_content %}
{% if confirm_delete %}
<div class="bottom-gutter">
{% call banner_wrapper(type='dangerous', subhead="Are you sure you want to delete this text message sender?") %}
<form method='post'>
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}" />
<input type="submit" class="button" name="delete" value="Confirm" />
</form>
{% endcall %}
</div>
{% else %}
<h1 class="heading-large">
Edit text message sender
</h1>
{% endif %}
<h1 class="heading-large">
Edit text message sender
</h1>
{% call form_wrapper() %}
{% if inbound_number %}
<p>