Skip to content

Instantly share code, notes, and snippets.

@thomasfedb
Created December 14, 2016 01:39
Show Gist options
  • Save thomasfedb/01c7a3159948f734ee0fa88fc9951eb3 to your computer and use it in GitHub Desktop.
Save thomasfedb/01c7a3159948f734ee0fa88fc9951eb3 to your computer and use it in GitHub Desktop.
<%= form_for @record do |f| %>
<div>
<%= f.label :name %>
<%= f.text_field :name %>
</div>
<div>
<%= f.label :age %>
<%= f.text_field :age %>
</div>
<div>
<%= f.submit("Update Record") %>
</div>
<% end %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment