From 2d7062d8fc5d4fc8fb8aba83947de7955cd41e3c Mon Sep 17 00:00:00 2001 From: Staicu Ionut Date: Wed, 24 Oct 2012 14:06:10 +0300 Subject: [PATCH] Added autofocus for issue title --- app/views/issues/_form.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/issues/_form.html.haml b/app/views/issues/_form.html.haml index ec3edce0..2ba72975 100644 --- a/app/views/issues/_form.html.haml +++ b/app/views/issues/_form.html.haml @@ -12,7 +12,7 @@ = f.label :title do %strong= "Subject *" .input - = f.text_field :title, maxlength: 255, class: "xxlarge gfm-input" + = f.text_field :title, maxlength: 255, class: "xxlarge gfm-input", autofocus: true .issue_middle_block .issue_assignee = f.label :assignee_id do