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