Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken HTML in Fyyur project #52

Closed
ghost opened this issue May 12, 2020 · 12 comments
Closed

Broken HTML in Fyyur project #52

ghost opened this issue May 12, 2020 · 12 comments

Comments

@ghost
Copy link

ghost commented May 12, 2020

I just cloned this and set up the development server for the Fyyur project. The create artist form seems broken:
2020-05-11-230930_630x877_scrot
Screenshot of the bottom:
2020-05-11-231104_642x553_scrot

Probably related: the Genre and Facebook Link fields are both returned as 'state' in the ImmutableDict object.

@PlessioTihsrah
Copy link

Remove "id=form.state attribute" from the tags which are broken

@nickever
Copy link

nickever commented May 14, 2020

I've submitted a pull request to fix this. #54

I also noticed that the facebook link label had the 'for' attribute of "genre", so I've requested to change that too.

@omar-yehia
Copy link

in new_artist.html
the "genre" form and "facebook_link" form has wrong id , id=form.state :D
change the id to "genre", and "facebook_link" , and don't forget to edit the (label) for "facebook_link"

@omar-yehia
Copy link

after the edits

      <div class="form-group">
        <label for="genres">Genres</label>
        <small>Ctrl+Click to select multiple</small>
        {{ form.genres(class_ = 'form-control', placeholder='Genres, separated by commas', id='genres', autofocus = true) }}
      </div>
      <div class="form-group">
          <label for="facebook_link">Facebook Link</label>
          {{ form.facebook_link(class_ = 'form-control', placeholder='http://', id='facebook_link', autofocus = true) }}
      </div>

@zemelb
Copy link

zemelb commented Jul 29, 2020

T

after the edits

      <div class="form-group">
        <label for="genres">Genres</label>
        <small>Ctrl+Click to select multiple</small>
        {{ form.genres(class_ = 'form-control', placeholder='Genres, separated by commas', id='genres', autofocus = true) }}
      </div>
      <div class="form-group">
          <label for="facebook_link">Facebook Link</label>
          {{ form.facebook_link(class_ = 'form-control', placeholder='http://', id='facebook_link', autofocus = true) }}
      </div>

Thank you! Can't believe they haven't fixed this yet...

@jackwu413
Copy link

When will this be resolved? I see that @nickever submitted a PR for the fix on May 14.

@zemelb
Copy link

zemelb commented Sep 26, 2020 via email

@jackwu413
Copy link

Wow. That's extremely disappointing. Guess this'll be the first and last Udacity course that I pay for.

@themagiccog
Copy link

I am not happy with the way Udacity has set up thier courses. There are a lot of errors and inconsistencies with the codes. And no effort is made to clean up. Hopefully it gets better. I just started the course and I had this same issue.

@zemelb
Copy link

zemelb commented Oct 17, 2020 via email

@robinlamb
Copy link
Contributor

I also made a pull request fixing this, as well as adding the missing fields to the pages. #117

@SudKul
Copy link
Contributor

SudKul commented Mar 16, 2021

Fixed in the #117

@SudKul SudKul closed this as completed Mar 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants