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="jGLXEUtfF4M07gyVCKSizPk0njyhul3fj_wise-DUEtgSb7hWdCll-xrXX5dzsYroW_IqsMsM7-BtR4Wss2n0w" 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