x
1
<input class="bg-neutral-secondary-medium border border-default-medium text-heading rounded-base focus:ring-brand focus:border-brand block w-full shadow-xs placeholder:text-body px-3 py-2.5 text-sm" placeholder="Enter your first name" type="text" name="person[first_name]" id="person_first_name" />
1
2
3
4
5
6
7
8
person.first_name = nil
render(
Flowbite::Input.new(
attribute: :first_name,
form: form,
options: {placeholder: "Enter your first name"}
)
)