diff --git a/public/asset/default/css/framework.css b/public/asset/default/css/framework.css index 037ea91..46b4389 100644 --- a/public/asset/default/css/framework.css +++ b/public/asset/default/css/framework.css @@ -437,6 +437,10 @@ a:visited.background-color-hover-night-light:hover { display: block; } +.display-inline-block { + display: inline-block; +} + .display-flex { display: flex; } diff --git a/src/Controller/TorrentController.php b/src/Controller/TorrentController.php index 5885f14..646b8eb 100644 --- a/src/Controller/TorrentController.php +++ b/src/Controller/TorrentController.php @@ -789,8 +789,7 @@ class TorrentController extends AbstractController 'error' => [], 'attribute' => [ - 'value' => $request->get('locales') ? $request->get('locales') : $torrentLocalesCurrent['value'], - 'placeholder' => $translator->trans('Content language') + 'value' => $request->get('locales') ? $request->get('locales') : $torrentLocalesCurrent['value'], ] ] ]; @@ -1143,8 +1142,7 @@ class TorrentController extends AbstractController 'error' => [], 'attribute' => [ - 'value' => $torrentSensitiveCurrent['value'], - 'placeholder' => $translator->trans('Apply sensitive filters to publication') + 'value' => $torrentSensitiveCurrent['value'], ] ] ]; diff --git a/templates/default/torrent/edit/locales.html.twig b/templates/default/torrent/edit/locales.html.twig index 282f209..1245721 100644 --- a/templates/default/torrent/edit/locales.html.twig +++ b/templates/default/torrent/edit/locales.html.twig @@ -2,9 +2,9 @@ {% block title %}{{'Edit locales'|trans }} - {{'Torrent'|trans }} #{{ torrentId }} - {{ name }}{% endblock %} {% block main_content %}
-
+

- {{'Edit locales for torrent'|trans }} + {{'Edit locales for torrent' | trans }} #{{ torrentId }}

@@ -13,7 +13,7 @@ - + @@ -23,26 +23,26 @@ {{ error }}
{% endfor %} -
- {% else %} - + {% endif %} - {% endfor %} - {# - - #} - + +
+ {% endfor %} + {# + + #}
+
diff --git a/templates/default/torrent/edit/sensitive.html.twig b/templates/default/torrent/edit/sensitive.html.twig index 3ab48e2..1721ac7 100644 --- a/templates/default/torrent/edit/sensitive.html.twig +++ b/templates/default/torrent/edit/sensitive.html.twig @@ -14,12 +14,13 @@ - +
+
{{'cancel'|trans }} diff --git a/templates/default/torrent/submit.html.twig b/templates/default/torrent/submit.html.twig index 061411e..27f6a14 100644 --- a/templates/default/torrent/submit.html.twig +++ b/templates/default/torrent/submit.html.twig @@ -16,36 +16,36 @@
- - - - - - - {% for error in form.locales.error %} -
- {{ error }} -
- {% endfor %} -
- {% for locale in locales %} -
- {% if locale in form.locales.attribute.value %} - - {% else %} - - {% endif %} - +
+ + + + + + + {% for error in form.locales.error %} +
+ {{ error }}
{% endfor %} - {# - {{'Other...'|trans }} - #}
+ {% for locale in locales %} +
+ {% if locale in form.locales.attribute.value %} + + {% else %} + + {% endif %} + +
+ {% endfor %} + {# + {{'Other...'|trans }} + #}