Id se políčku přihlášky má nastavovat jen tehdy, pokud nějaké dostaneme.
This commit is contained in:
parent
e6427389c6
commit
50db952581
1 changed files with 4 additions and 1 deletions
|
@ -1,5 +1,8 @@
|
||||||
|
{% if id %}
|
||||||
<tr id="{{ id }}" >
|
<tr id="{{ id }}" >
|
||||||
|
{% else %}
|
||||||
|
<tr>
|
||||||
|
{% endif %}
|
||||||
<td>
|
<td>
|
||||||
<label class="field-label{% if field.field.required %} field-required{% endif %}" for="{{ field.id_for_label }}">
|
<label class="field-label{% if field.field.required %} field-required{% endif %}" for="{{ field.id_for_label }}">
|
||||||
{{ field.label }}:
|
{{ field.label }}:
|
||||||
|
|
Loading…
Reference in a new issue