From b6ca062670b342344df08b53fb216db619ef42bc Mon Sep 17 00:00:00 2001 From: Nicolas Braud-Santoni Date: Sun, 7 Aug 2016 16:39:42 +0200 Subject: Import legacy manman source Copied from www.ffgraz.net --- app/views/node/edit.rhtml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 app/views/node/edit.rhtml (limited to 'app/views/node/edit.rhtml') diff --git a/app/views/node/edit.rhtml b/app/views/node/edit.rhtml new file mode 100644 index 0000000..3686853 --- /dev/null +++ b/app/views/node/edit.rhtml @@ -0,0 +1,34 @@ +<%= render :partial => "person/nav" %> + +

Node

+<%= start_form_tag :action => 'update', :id => @node %> + + + + + + + + + + + + + + + +
Name<%= text_field 'node', 'name' %>
Kommentar<%= text_area('node', 'comment', :cols => 40, :rows => 5) %>
Administrator + +
Smokeping<%= check_box "node", "smokeping" %>
+ <%= submit_tag 'Edit' %> +<%= end_form_tag %> +
+<%= link_to 'Back', { :controller => 'location', :action => 'show', :id => @node.location.id } %> -- cgit v1.2.1