Extract Shortcuts controller

This commit is contained in:
Yassine Guedidi
2025-03-09 00:13:58 +01:00
parent 7eaaf5d38c
commit 8b0e6319e4
9 changed files with 113 additions and 63 deletions

View File

@ -9,7 +9,7 @@
{% endif %}
{{ form_widget(form.url, {'attr': {'autocomplete': 'off', 'placeholder': 'entry.new.placeholder', 'data-topbar-target': 'addUrlInput'}}) }}
<i class="material-icons close" aria-label="clear" role="button" data-action="click->topbar#showActions"></i>
<i class="material-icons close" aria-label="clear" role="button" data-action="click->topbar#showActions" data-shortcuts-target="showActions"></i>
{{ form_rest(form) }}
</form>