fix (нюансы с id элементов)
This commit is contained in:
parent
53633edf34
commit
fba51b206b
@ -92,11 +92,11 @@
|
||||
<tr>
|
||||
<td>
|
||||
<form action="/geoproc/obstation/edit/?id={{ catalog.id }}"
|
||||
id="frm_name_{{ catalog.id }}" method="POST"
|
||||
id="obst_name_{{ catalog.id }}" method="POST"
|
||||
class="floatLeft butDelUser w-100 d-flex flex-column mb-0">
|
||||
{% csrf_token %}
|
||||
<a href="#" class=""
|
||||
onclick="document.getElementById('frm_name_{{ catalog.id }}').submit(); return false;">
|
||||
onclick="document.getElementById('obst_name_{{ catalog.id }}').submit(); return false;">
|
||||
{{ catalog }}
|
||||
</a>
|
||||
<input type="hidden" value="{{ catalog.id }}" name="id">
|
||||
@ -109,16 +109,15 @@
|
||||
<td></td>
|
||||
<td>
|
||||
<form action="/geoproc/point/edit/?id={{ point.id }}"
|
||||
id="frm_name_{{ point.id }}" method="POST"
|
||||
id="point_name_{{ point.id }}" method="POST"
|
||||
class="floatLeft butDelUser w-100 d-flex flex-column mb-0">
|
||||
{% csrf_token %}
|
||||
<a href="#"
|
||||
onclick="document.getElementById('frm_name_{{ point.id }}').submit(); return false;">
|
||||
onclick="document.getElementById('point_name_{{ point.id }}').submit(); return false;">
|
||||
{{ point.name }}
|
||||
</a>
|
||||
<input type="hidden" value="{{ point.id }}" name="id">
|
||||
</form>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user