From 9e3ce74ed5238914a2353f9f71a27ba9b2e0d51b Mon Sep 17 00:00:00 2001 From: Emi Matchu Date: Thu, 14 Nov 2024 17:12:58 -0800 Subject: [PATCH] Auto-focus series name when labeling alt styles Helpful when doing a bunch in a row (like today's big release!) --- app/views/alt_styles/edit.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/alt_styles/edit.html.haml b/app/views/alt_styles/edit.html.haml index abe67336..d77620da 100644 --- a/app/views/alt_styles/edit.html.haml +++ b/app/views/alt_styles/edit.html.haml @@ -22,7 +22,7 @@ %li= error.full_message %fieldset = f.label :real_series_name, "Series" - = f.text_field :real_series_name + = f.text_field :real_series_name, autofocus: !@alt_style.real_series_name? = f.label :thumbnail_url, "Thumbnail" .thumbnail-field - if @alt_style.thumbnail_url?