]> BookStack Code Mirror - bookstack/blobdiff - resources/views/users/preferences/parts/shortcut-control.blade.php
Added shortcut input controls to make custom shortcuts work
[bookstack] / resources / views / users / preferences / parts / shortcut-control.blade.php
index 47fec3a5e24437a073e469809391838c06708f1f..b85813ce04abb80954657a1ddb4085ef057613c9 100644 (file)
@@ -1,7 +1,8 @@
 <div class="flex-container-row justify-space-between items-center gap-m item-list-row">
-    <label for="shortcut-{{ $label }}" class="bold flex px-m py-xs">{{ $label }}</label>
+    <label for="shortcut-{{ $id }}" class="bold flex px-m py-xs">{{ $label }}</label>
     <div class="px-m py-xs">
         <input type="text"
+               component="shortcut-input"
                class="small flex-none shortcut-input px-s py-xs"
                id="shortcut-{{ $id }}"
                name="shortcut[{{ $id }}]"