Pozycje składniowe: <form class="positions-add-form" method="post"> {% csrf_token %} <div id="subform"> <button type="button" id="realization-add_position_button">Dodaj pozycję</button> <div id="realization-positions"> {% for position in positions %} <p id="position"> {{ position.text_rep }} <input id="id_value" type="hidden" name="value" value="{{ position.id }}"/> <button type="button" id="edit-position">Edytuj</button> <button type="button" id="remove-position">Usuń</button> </p> {% endfor %} </div> <div class="opinion">{{opinion_form.as_p}}</div> <button type="submit" id="add-realization">Zapisz</button> </div> </form>