diff --git a/public/js/guest.js b/public/js/guest.js new file mode 100644 index 0000000000..7ba3e6bed9 --- /dev/null +++ b/public/js/guest.js @@ -0,0 +1,6 @@ +$(function () { + "use strict"; + + // Focus first visible form element. + $("form input:enabled:visible:first").first().select() +}); \ No newline at end of file diff --git a/resources/views/layout/default.twig b/resources/views/layout/default.twig index 6f81b3f840..7ee974b939 100644 --- a/resources/views/layout/default.twig +++ b/resources/views/layout/default.twig @@ -28,6 +28,27 @@ + + + + + + + + + + + + + + + + + + + + +
diff --git a/resources/views/layout/empty.twig b/resources/views/layout/empty.twig index 3c32d46d3b..8f4a0faad0 100644 --- a/resources/views/layout/empty.twig +++ b/resources/views/layout/empty.twig @@ -17,23 +17,23 @@ - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - + diff --git a/resources/views/layout/guest.twig b/resources/views/layout/guest.twig index 95fdcf293a..8b59e6af25 100644 --- a/resources/views/layout/guest.twig +++ b/resources/views/layout/guest.twig @@ -18,23 +18,23 @@ - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - + @@ -48,6 +48,7 @@ + {% if env('ANALYTICS_ID','') != '' %}