Remove unused tabindex attribute

In order for this attribute to be applied, due to the syntax of the
`select` method, it should be in a separate hash.

We're removing it instead of correctly applying it because we never use
the `tabindex` attribute with a positive value, since it might break
keyboard navigation.
This commit is contained in:
Javi Martín
2024-10-12 19:13:45 +02:00
parent ddaf320d8a
commit 39d620539c

View File

@@ -13,8 +13,7 @@
<%= f.select :id,
@booths.map { |booth| [booth.location, booth.id] },
selected: @booths.first,
label: false,
tabindex: "1" %>
label: false %>
<%= f.submit(t("devise_views.sessions.new.submit"), class: "button expanded") %>
</div>