From 15a4fed98290ca6a24419759571d89e381f7c9e7 Mon Sep 17 00:00:00 2001 From: Nick Everett <35038576+nickever@users.noreply.github.com> Date: Thu, 14 May 2020 17:24:25 +0200 Subject: [PATCH] id attribute fix and typo fix Removed 'id=form.state' attribute to fix broken display of genre and facebook link form Corrected error in 'for' attribute for facebook label. --- .../01_fyyur/starter_code/templates/forms/new_artist.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/projects/01_fyyur/starter_code/templates/forms/new_artist.html b/projects/01_fyyur/starter_code/templates/forms/new_artist.html index 33062fa2777..6b4457fe6fb 100644 --- a/projects/01_fyyur/starter_code/templates/forms/new_artist.html +++ b/projects/01_fyyur/starter_code/templates/forms/new_artist.html @@ -26,13 +26,13 @@

List a new artist

Ctrl+Click to select multiple - {{ form.genres(class_ = 'form-control', placeholder='Genres, separated by commas', id=form.state, autofocus = true) }} + {{ form.genres(class_ = 'form-control', placeholder='Genres, separated by commas', autofocus = true) }}
- - {{ form.facebook_link(class_ = 'form-control', placeholder='http://', id=form.state, autofocus = true) }} + + {{ form.facebook_link(class_ = 'form-control', placeholder='http://', autofocus = true) }}
-{% endblock %} \ No newline at end of file +{% endblock %}