Files
ubicloud/views/components/form/hidden.erb
Enes Cakir 585b8c09ad Add hidden input form component
We need to add `hidden` attribute to the `<input type="hidden" />` form
elements to the UI's rendered properly. It's easy to forget.

Also the 2FA pages use hidden inputs heavily.

I extracted it as a component.
2023-12-04 15:19:50 +03:00

2 lines
70 B
Plaintext

<input type="hidden" name="<%= name %>" value="<%= value %>" hidden/>