Skip to content

Commit

Permalink
Merge pull request #825 from alphagov/textarea-attr-tutorial
Browse files Browse the repository at this point in the history
Correct data attribute in kit tutorial
  • Loading branch information
DebsDee authored Oct 24, 2019
2 parents a793f85 + ffe84f1 commit 0bdd7f5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ To show the user's answer in a `textarea`, add the same Nunjucks code you [added
1. Open the `juggling-trick.html` file in your `app/views` folder.
2. Find the `<textarea>` you added earlier.
3. Add `{{ data['name-of-trick'] }}` between the `<textarea>` and `</textarea>` tags. Do not add any space or line breaks.
3. Add `{{ data['most-impressive-trick'] }}` between the `<textarea>` and `</textarea>` tags. Do not add any space or line breaks.
Go to [http://localhost:3000/juggling-trick](http://localhost:3000/juggling-trick) and check it works by filling in an answer, continuing to the next page, going back, then refreshing your browser.
Expand Down

0 comments on commit 0bdd7f5

Please sign in to comment.