Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,162 +2,166 @@

exports[`ChooseATemplateTypePage 1`] = `
<DocumentFragment>
<a
class="nhsuk-back-link"
data-testid="back-link-top"
href="/message-templates"
<div
class="nhsuk-width-container"
>
Back to all templates
</a>
<main
class="nhsuk-main-wrapper"
id="maincontent"
role="main"
>
<form
action="/action"
<a
class="nhsuk-back-link"
data-testid="back-link-top"
href="/message-templates"
>
Back to all templates
</a>
<main
class="nhsuk-main-wrapper"
id="maincontent"
role="main"
>
<input
name="form-id"
readonly=""
type="hidden"
value="choose-a-template-type"
/>
<input
name="csrf_token"
readonly=""
type="hidden"
value="no_token"
/>
<div
class="nhsuk-form-group"
<form
action="/action"
>
<fieldset
class="nhsuk-fieldset"
<input
name="form-id"
readonly=""
type="hidden"
value="choose-a-template-type"
/>
<input
name="csrf_token"
readonly=""
type="hidden"
value="no_token"
/>
<div
class="nhsuk-form-group"
>
<legend
class="nhsuk-fieldset__legend nhsuk-fieldset__legend--l"
data-testid="templateType-form__legend"
>
<h1
class="nhsuk-fieldset__heading"
>
Choose a template type to create
</h1>
</legend>
<p>
<a
href="/features"
rel="noopener noreferrer"
target="_blank"
>
Learn more about message channels (opens in a new tab)
</a>
</p>
<div
class="nhsuk-form-group"
<fieldset
class="nhsuk-fieldset"
>
<div
class="nhsuk-hint"
id="templateType--hint"
<legend
class="nhsuk-fieldset__legend nhsuk-fieldset__legend--l"
data-testid="templateType-form__legend"
>
Select one option
</div>
<h1
class="nhsuk-fieldset__heading"
>
Choose a template type to create
</h1>
</legend>
<p>
<a
href="/features"
rel="noopener noreferrer"
target="_blank"
>
Learn more about message channels (opens in a new tab)
</a>
</p>
<div
aria-describedby="templateType--hint"
class="nhsuk-radios"
id="templateType"
class="nhsuk-form-group"
>
<div
class="nhsuk-radios__item"
class="nhsuk-hint"
id="templateType--hint"
>
<input
class="nhsuk-radios__input"
data-testid="nhsapp-radio"
id="templateType-nhsapp"
name="templateType"
type="radio"
value="NHS_APP"
/>
<label
class="nhsuk-label nhsuk-radios__label"
for="templateType-nhsapp"
id="templateType-nhsapp--label"
>
NHS App message
</label>
Select one option
</div>
<div
class="nhsuk-radios__item"
aria-describedby="templateType--hint"
class="nhsuk-radios"
id="templateType"
>
<input
class="nhsuk-radios__input"
data-testid="email-radio"
id="templateType-email"
name="templateType"
type="radio"
value="EMAIL"
/>
<label
class="nhsuk-label nhsuk-radios__label"
for="templateType-email"
id="templateType-email--label"
<div
class="nhsuk-radios__item"
>
Email
</label>
</div>
<div
class="nhsuk-radios__item"
>
<input
class="nhsuk-radios__input"
data-testid="sms-radio"
id="templateType-sms"
name="templateType"
type="radio"
value="SMS"
/>
<label
class="nhsuk-label nhsuk-radios__label"
for="templateType-sms"
id="templateType-sms--label"
<input
class="nhsuk-radios__input"
data-testid="nhsapp-radio"
id="templateType-nhsapp"
name="templateType"
type="radio"
value="NHS_APP"
/>
<label
class="nhsuk-label nhsuk-radios__label"
for="templateType-nhsapp"
id="templateType-nhsapp--label"
>
NHS App message
</label>
</div>
<div
class="nhsuk-radios__item"
>
Text message (SMS)
</label>
</div>
<div
class="nhsuk-radios__item"
>
<input
class="nhsuk-radios__input"
data-testid="letter-radio"
id="templateType-letter"
name="templateType"
type="radio"
value="LETTER"
/>
<label
class="nhsuk-label nhsuk-radios__label"
for="templateType-letter"
id="templateType-letter--label"
<input
class="nhsuk-radios__input"
data-testid="email-radio"
id="templateType-email"
name="templateType"
type="radio"
value="EMAIL"
/>
<label
class="nhsuk-label nhsuk-radios__label"
for="templateType-email"
id="templateType-email--label"
>
Email
</label>
</div>
<div
class="nhsuk-radios__item"
>
<input
class="nhsuk-radios__input"
data-testid="sms-radio"
id="templateType-sms"
name="templateType"
type="radio"
value="SMS"
/>
<label
class="nhsuk-label nhsuk-radios__label"
for="templateType-sms"
id="templateType-sms--label"
>
Text message (SMS)
</label>
</div>
<div
class="nhsuk-radios__item"
>
Letter
</label>
<input
class="nhsuk-radios__input"
data-testid="letter-radio"
id="templateType-letter"
name="templateType"
type="radio"
value="LETTER"
/>
<label
class="nhsuk-label nhsuk-radios__label"
for="templateType-letter"
id="templateType-letter--label"
>
Letter
</label>
</div>
</div>
</div>
</div>
</fieldset>
</div>
<button
aria-disabled="false"
class="nhsuk-button"
data-testid="submit-button"
id="choose-a-template-type-submit-button"
type="submit"
>
Continue
</button>
</form>
</main>
</fieldset>
</div>
<button
aria-disabled="false"
class="nhsuk-button"
data-testid="submit-button"
id="choose-a-template-type-submit-button"
type="submit"
>
Continue
</button>
</form>
</main>
</div>
</DocumentFragment>
`;
Loading