x
1
2
3
<form action="/models" accept-charset="UTF-8" method="post"><input type="hidden" name="authenticity_token" value="5seLG1iZmDAHO9t3C-zZCAFYsg04j9ebFbFbHDZgOK7cC7nOkHlz1Gs2-_K4cxyFFo5eFsJF2T7K20x0FIL54A" autocomplete="off" />
<input type="text" name="model[attribute]" id="model_attribute" />
</form>
1
2
3
<%= form_with model: model do |form| %>
<%= form.text_field :attribute %>
<% end %>