-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #42 from nhsuk/optional-qualitative
Make text responses disabled by default
- Loading branch information
Showing
9 changed files
with
80 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<div class="nhsuk-panel nhsuk-u-reading-width"> | ||
<h2 class="nhsuk-heading-s nhsuk-user-feedback-form-header">Thank you for your feedback.</h2> | ||
<p>We do not check feedback every day and cannot respond to comments.</p> | ||
{{ optionalTextResponseMessage }} | ||
<p>Find out how to <a href="/contact-us/">contact the NHS</a> if you need to speak to someone.</p> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | ||
<meta name="description" content=""> | ||
|
||
<link rel="shortcut icon" href=""> | ||
|
||
<title>User feedback form test page</title> | ||
|
||
<link rel="stylesheet" href="../../node_modules/nhsuk-frontend/dist/nhsuk.css"> | ||
|
||
<script src="../../dist/user-feedback-form.js" type="text/javascript" defer></script> | ||
</head> | ||
<body> | ||
<div class="nhsuk-width-container"> | ||
<main class="nhsuk-main-wrapper"> | ||
<h1>User feedback form:</h1> | ||
<div id="nhsuk-user-feedback-form" data-form-endpoint="http://localhost:8080/my-endpoint/" data-enable-text-response></div> | ||
|
||
<!-- | ||
If you have the user-feedback-store running locally and want to test it, the endpoint setting should probably be this: | ||
<div id="nhsuk-user-feedback-form" data-form-endpoint="http://localhost:7071/"></div> | ||
--> | ||
</main> | ||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters