1 2 3 4 5 6
<%= form_with model: @resource do |f| %> <%= f.label :name, "Name of this Resource" %> <%= f.text_field :name %> <%= f.submit 'Save' %> <% end %>