x
1
2
3
4
<div class="cfa-stack-sm"> <label class="label block" for="form_component_preview_test_model_first_name">First name <span class="font-normal">(optional)</span></label> <input class="w-full max-w-sm" type="text" name="form_component_preview_test_model[first_name]" id="form_component_preview_test_model_first_name" /></div>1
render(InputComponent.new(form:, method: :first_name, label: I18n.t("preview.first_name"), optional: true))No notes provided.
No params configured.