x
1
2
3
<form action="/models" accept-charset="UTF-8" method="post"><input type="hidden" name="authenticity_token" value="SuNA5isNLnkg2rz-gZ9MH8hvNtx85a1sbvq18PtdsLkE_YmXgdOPnSbmPMShrT_7MFadTHciHiDEo-4pKqkpbA" autocomplete="off" />
<input type="tel" name="model[attribute]" id="model_attribute" />
</form>
1
2
3
<%= form_with model: model do |form| %>
<%= form.telephone_field :attribute %>
<% end %>