From 8c7c0501e49871765d6ac971e4027dac0ea20407 Mon Sep 17 00:00:00 2001 From: hellekin Date: Tue, 6 Oct 2020 20:34:48 +0200 Subject: First pass at Resources... --- app/views/resources/edit.html.erb | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'app/views/resources/edit.html.erb') 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 @@ -

Resources#edit

-

Find me in app/views/resources/edit.html.erb

+<%= form_with model: @resource do |f| %> + <%= f.label :name, "Name of this Resource" %> + <%= f.text_field :name %> + + <%= f.submit 'Save' %> +<% end %> -- cgit v1.2.3