x
1
2
3
4
5
6
<form action="#" accept-charset="UTF-8" method="post"><input type="hidden" name="authenticity_token" value="y5z8S8yEkWPHx82AOSKoyQCfsVefuwzX52EJ2YObx0amDNmDRbj4dB1AiJrEJw0SELRoz8auzsbHPmrEcyJDRw" 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>
<textarea id="name" name="name" value="Joe Bloggs" class="rpf-input rpf-input-textarea">
Joe Bloggs</textarea>
</div>
</form>
1
2
3
<%= form_with url: '#', builder: DesignSystem::FormBuilder do |f| %>
<%= f.rpf_textarea_input :name, label: 'What is your name?', hint: 'Please enter your first and last names', value: 'Joe Bloggs', modifiers:, error:, **attrs %>
<% end %>
Param Description Input