Previews

No matching results.

x
1
2
3
4
5
6
7
8
<div class="form-field-wrapper">
<label for="user[password]" class="block font-medium text-gray-700 mb-1 text-sm">
Password
</label>
<div class="relative flex items-center" data-controller="better-ui--forms--password-input">
<input name="user[password]" value="••••••••" readonly="readonly" class="block w-full rounded-md border shadow-sm transition-colors duration-200 text-base py-2 px-4 border-gray-300 bg-gray-50 text-gray-700 cursor-default" type="password" data-better-ui--forms--password-input-target="input" />
</div>
</div>
1
2
3
4
5
6
render BetterUi::Forms::PasswordInputComponent.new(
name: "user[password]",
label: "Password",
value: "••••••••",
readonly: true
)