
{% extends "withnav_template.html" %}
{% from "components/textbox.html" import textbox %}
{% from "components/page-header.html" import page_header %}
{% from "components/page-footer.html" import page_footer %}
{% from "components/form.html" import form_wrapper %}

{% block service_page_title %}
  Change your service name
{% endblock %}

{% block maincolumn_content %}

  {{ page_header(
    'Change your service name',
    back_link=url_for('main.service_settings', service_id=current_service.id)
  ) }}

  <div class="form-group">
    {% if current_service.prefix_sms %}
      <p>Users will see your service name:</p>
      <ul class="list-bullet">
        <li>at the start of every text message</li>
        <li>as your email sender name</li>
      </ul>
    {% else %}
      <p>Users will see your service name as your email sender name.</p>
    {% endif %}
  </div>

  {% call form_wrapper() %}
    {{ textbox(form.name) }}
    {{ page_footer('Save') }}
  {% endcall %}

{% endblock %}
