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

Form labels need to be labelled correctly for inputs #39

Open
donni106 opened this issue Feb 8, 2021 · 0 comments
Open

Form labels need to be labelled correctly for inputs #39

donni106 opened this issue Feb 8, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@donni106
Copy link
Member

donni106 commented Feb 8, 2021

Example:

<div class="row">
  <div class="col">
    <div class="form-group">
      <label for="description">Name *</label>
      <%= f.text_field :name, class: "form-control" %>
    </div>
  </div>
</div>

<div class="row">
  <div class="col">
    <div class="form-group">
      <label for="description">Beschreibung</label>
      <%= f.text_area :description, class: "form-control html-editor" %>
    </div>
  </div>
</div>

Labels are always for description which does not correspond to the right input.
The labels need to be created with rails as well like <%= f.label :name, "Name *" %> for the first example.
Needs to be checked all over the forms in the code base.

@donni106 donni106 added the enhancement New feature or request label Feb 8, 2021
@donni106 donni106 self-assigned this Feb 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants