rename page to article

This commit is contained in:
ghost 2023-10-10 14:43:44 +03:00
parent 649838d4ee
commit c747166a30
43 changed files with 597 additions and 597 deletions

View file

@ -302,15 +302,15 @@
<path d="M12.854.146a.5.5 0 0 0-.707 0L10.5 1.793 14.207 5.5l1.647-1.646a.5.5 0 0 0 0-.708l-3-3zm.646 6.061L9.793 2.5 3.293 9H3.5a.5.5 0 0 1 .5.5v.5h.5a.5.5 0 0 1 .5.5v.5h.5a.5.5 0 0 1 .5.5v.5h.5a.5.5 0 0 1 .5.5v.207l6.5-6.5zm-7.468 7.468A.5.5 0 0 1 6 13.5V13h-.5a.5.5 0 0 1-.5-.5V12h-.5a.5.5 0 0 1-.5-.5V11h-.5a.5.5 0 0 1-.5-.5V10h-.5a.499.499 0 0 1-.175-.032l-.179.178a.5.5 0 0 0-.11.168l-2 5a.5.5 0 0 0 .65.65l5-2a.5.5 0 0 0 .168-.11l.178-.178z"/>
</svg>
</a>
{{ 'Pages'|trans }}
{{ 'Articles'|trans }}
<div class="padding-b-8-px border-bottom-default"></div>
<div class="padding-y-16-px text-left">
{% for page in torrent.pages %}
{% for article in torrent.articles %}
<div>
{{ page }}
{{ article }}
</div>
{% endfor %}
<form name="pages" method="post" action="{{ path('page_submit') }}">
<form name="articles" method="post" action="{{ path('article_submit') }}">
<input type="hidden" name="torrentId" value="{{ torrent.id }}" />
<button type="submit" class="button-green">
<svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" fill="currentColor" viewBox="0 0 16 16">