Use auto_id for isbn field rendering
This commit is contained in:
parent
7187b11f15
commit
188f80aa83
1 changed files with 2 additions and 2 deletions
|
@ -28,12 +28,12 @@
|
|||
<div class="form-row">
|
||||
<div class="col-12">
|
||||
<div class="form-group">
|
||||
{% bootstrap_label content=form.isbn.label label_for=id_isbn %}
|
||||
{% bootstrap_label content=form.isbn.label label_for=form.isbn.auto_id %}
|
||||
<div class="input-group">
|
||||
<input name="isbn" maxlength="20"
|
||||
class="form-control"
|
||||
placeholder="{{ form.isbn.label }}"
|
||||
required="" id="id_isbn" type="text">
|
||||
required="" id="{{ form.isbn.auto_id }}" type="text">
|
||||
<div class="input-group-append">
|
||||
<button class="btn btn-outline-secondary" type="button" id="id_isbn_button">
|
||||
Chercher sur Decitre
|
||||
|
|
Loading…
Reference in a new issue