x
1
2
3
<form class="new_person" id="new_person" action="#" accept-charset="UTF-8" method="post"><input type="hidden" name="authenticity_token" value="PJJmchRbbAX7k0F4NJ6ovptS2nnX5k7wgK5P9e1MQ3Uy4agTjatf3Ihm_rk7uIe19dU4ZeAmD2awAY3k3D00qw" autocomplete="off" />
<div class="rpf-input-field"><label for="person_name" class="rpf-label">What is your name?<small class="rpf-label__hint">Please enter your first and last names</small></label><input id="person_name" name="person[name]" placeholder="Rufus T. Firefly" value="Joe Bloggs" type="text" markdown_hint="false" class="rpf-input rpf-input-text"></div>
</form>
1
2
3
<%= form_for model, url: '#', builder: DesignSystem::FormBuilder do |f| %>
<%= f.rpf_text_input :name, modifiers:, markdown_hint:, **attrs %>
<% end %>
Param Description Input

Remove to see placeholder