fix: renames preferences routes
This commit is contained in:
@@ -21,7 +21,7 @@
|
|||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="{{ path('app_media_preferences') }}"
|
<a href="{{ path('app_user_preferences') }}"
|
||||||
class="block rounded-lg px-4 py-2 text-sm font-medium text-gray-50 hover:bg-gray-100 hover:text-stone-700">
|
class="block rounded-lg px-4 py-2 text-sm font-medium text-gray-50 hover:bg-gray-100 hover:text-stone-700">
|
||||||
Preferences
|
Preferences
|
||||||
</a>
|
</a>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
<div class="p-4 flex flex-col">
|
<div class="p-4 flex flex-col">
|
||||||
<twig:Card title="Choose your preferences">
|
<twig:Card title="Choose your preferences">
|
||||||
<p class="text-gray-50 mb-2">Define a set of filters to apply to your media download option results.</p>
|
<p class="text-gray-50 mb-2">Define a set of filters to apply to your media download option results.</p>
|
||||||
<form id="media_preferences" class="flex flex-col max-w-64" name="media_preferences" method="post" action="{{ path('app_media_preferences') }}">
|
<form id="media_preferences" class="flex flex-col max-w-64" name="media_preferences" method="post" action="{{ path('app_save_media_preferences') }}">
|
||||||
<label class="text-gray-50" for="resolution">Resolution</label>
|
<label class="text-gray-50" for="resolution">Resolution</label>
|
||||||
<select class="p-1.5 rounded-md mb-2" name="resolution" id="resolution" value="{{ userPreferences['resolution'].getPreferenceValue() }}">
|
<select class="p-1.5 rounded-md mb-2" name="resolution" id="resolution" value="{{ userPreferences['resolution'].getPreferenceValue() }}">
|
||||||
<option class="text-gray-800"
|
<option class="text-gray-800"
|
||||||
|
|||||||
Reference in New Issue
Block a user