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

@ -6,10 +6,10 @@
{% else %}
<option value="torrent">{{ 'Torrents' | trans }}</option>
{% endif %}
{% if type == 'page' %}
<option value="page" selected="selected">{{ 'Pages' | trans }}</option>
{% if type == 'article' %}
<option value="article" selected="selected">{{ 'Articles' | trans }}</option>
{% else %}
<option value="page">{{ 'Pages' | trans }}</option>
<option value="article">{{ 'Articles' | trans }}</option>
{% endif %}
</select>
<input {% if query %}class="button-green"{% endif %} type="submit" value="{{ 'Search' | trans }}" />

View file

@ -122,7 +122,7 @@
<div class="text-color-night margin-y-16-px">
{{ '* share new torrent file to change it' | trans }}
</div>
<form name="submit" method="get" action="{{ path('page_submit') }}">
<form name="submit" method="get" action="{{ path('article_submit') }}">
<button class="button-green margin-y-8-px" type="submit">
<svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" fill="currentColor" viewBox="0 0 16 16">
<path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM8.5 4.5a.5.5 0 0 0-1 0v3h-3a.5.5 0 0 0 0 1h3v3a.5.5 0 0 0 1 0v-3h3a.5.5 0 0 0 0-1h-3v-3z"/>