aboutsummaryrefslogtreecommitdiff
path: root/app/views/resources/edit.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/resources/edit.html.erb')
-rw-r--r--app/views/resources/edit.html.erb8
1 files changed, 6 insertions, 2 deletions
diff --git a/app/views/resources/edit.html.erb b/app/views/resources/edit.html.erb
index 61b0939..7e9799f 100644
--- a/app/views/resources/edit.html.erb
+++ b/app/views/resources/edit.html.erb
@@ -1,2 +1,6 @@
-<h1>Resources#edit</h1>
-<p>Find me in app/views/resources/edit.html.erb</p>
+<%= form_with model: @resource do |f| %>
+ <%= f.label :name, "Name of this Resource" %>
+ <%= f.text_field :name %>
+
+ <%= f.submit 'Save' %>
+<% end %>