aboutsummaryrefslogtreecommitdiff
path: root/app/views/resources/edit.html.erb
diff options
context:
space:
mode:
authorhellekin <hellekin@cepheide.org>2020-10-06 20:34:48 +0200
committerhellekin <hellekin@cepheide.org>2020-10-06 20:34:48 +0200
commit8c7c0501e49871765d6ac971e4027dac0ea20407 (patch)
tree7642357fc3e4c1cce6330f9aaae08bf128f6aebe /app/views/resources/edit.html.erb
parent1564af069472e32ed322bf9acedc9c487bce1a15 (diff)
downloadincommon-map-8c7c0501e49871765d6ac971e4027dac0ea20407.tar.gz
First pass at Resources...
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 %>