Vyčištění IDček v html opravy

This commit is contained in:
Jonas Havelka 2025-01-21 09:12:36 +01:00
parent b637aed7ab
commit 291f39990d

View file

@ -15,8 +15,7 @@
onmouseout='box_onmouseout(this)' onmouseout='box_onmouseout(this)'
> >
<div class='corr-body' id='op{{o.id}}-body'> <div class='corr-body'>
{% for k in o.komentare %} {% for k in o.komentare %}
{% include "korektury/korekturovatko/__komentar.html" %} {% include "korektury/korekturovatko/__komentar.html" %}
<hr> <hr>
@ -24,11 +23,11 @@
</div> </div>
<div class='corr-header'> <div class='corr-header'>
<span class='float-right'> <span class='float-right'>
<span id='op{{o.id}}-buttons' class='corr-buttons'> <span class='corr-buttons'>
<form action='' method='POST'> <form action='' method='POST'>
{% csrf_token %} {% csrf_token %}
<input type='hidden' name='id' value='{{o.id}}'> <input type='hidden' name='id' value='{{o.id}}'>
<button style="display: none" type='submit' name='action' value='del' title='Smaž opravu'> <button style="display: none" type='submit' name='action' value='del' title='Smaž opravu'>
<img src="{% static "korektury/imgs/delete.png"%}"/> <img src="{% static "korektury/imgs/delete.png"%}"/>
</button> </button>
@ -55,7 +54,7 @@
</span> </span>
<button type='button' onclick='toggle_visibility(this.parentElement.parentElement.parentElement);' title='Skrýt/Zobrazit'> <button type='button' onclick='toggle_visibility(this.parentElement.parentElement.parentElement);' title='Skrýt/Zobrazit'>
<img id='op{{o.id}}-toggleimg' class='toggle-button' src="{% static "korektury/imgs/hide.png" %}"/> <img class='toggle-button' src="{% static "korektury/imgs/hide.png" %}"/>
</button> </button>
</span> </span>