Auto-focus series name when labeling alt styles

Helpful when doing a bunch in a row (like today's big release!)
This commit is contained in:
Emi Matchu 2024-11-14 17:12:58 -08:00
parent 5f31e38428
commit 9e3ce74ed5

View file

@ -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?