{% extends "withnav_template.html" %}
{% from "components/textbox.html" import textbox %}
{% from "components/radios.html" import radios %}
{% from "components/page-footer.html" import page_footer %}
{% from "components/banner.html" import banner_wrapper %}

{% block service_page_title %}
  Request to go live
{% endblock %}

{% block maincolumn_content %}

      <h1 class="heading-large">Request to go live</h1>

      <p>
        Before you request to go live, make sure you’ve:
      </p>
      <ul class="list list-bullet bottom-gutter">
        <li>read our <a href="{{ url_for('.terms') }}">terms of use</a></li>
        <li>added <a href="{{ url_for('main.manage_users', service_id=current_service.id) }}">team members</a> to your account</li>
        <li>
          specified your reply to email address or text message sender in your
          <a href="{{ url_for('main.service_settings', service_id=current_service.id) }}">settings</a> page</li>
        <li>
          added the templates you want to start with, making sure they follow our
          <a href="https://designpatterns.hackpad.com/Notifications-5vuitmNqIjZ" rel="external">design patterns</a>,
          <a href="https://www.gov.uk/topic/government-digital-guidance/content-publishing" rel="external">style guide</a>
          and
          <a href="https://docs.google.com/document/d/15-OjaEqDBy31uDU7nLZCpYIQOnzSCJR63-cp3cQI9G8" rel="external">information security guidelines</a>
          </li>
      </ul>

      <form method="post">
        <div class="form-group">
          <p>We need permission to process your data before we can make your service live.</p>
          {{ radios(form.mou, option_hints={
            'no': 'We’ll send you a copy',
            'don’t know': 'We’ll check for you',
          }) }}
        </div>
        <div class="form-group">
          {{ radios(form.channel) }}
          {{ textbox(form.start_date, width='1-1') }}
          {{ textbox(form.start_volume, width='1-1', hint='For example, ‘1000 a month’.') }}
          {{ textbox(form.peak_volume, width='1-1', hint='For example, ‘Messages will increase to 20,000 a month in January’.') }}
          {{ radios(form.upload_or_api) }}
        </div>

        <p>
          Once you’ve completed the tasks needed to set up, we’ll make your service live. We’ll do this within one working day.
        </p>
        <p>
          By requesting to go live you’re agreeing to our <a href="{{ url_for('.terms') }}">terms of use</a>.
        </p>

        {{ page_footer('Request to go live') }}
      </form>


{% endblock %}
