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/location/new.rhtml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 app/views/location/new.rhtml (limited to 'app/views/location/new.rhtml') diff --git a/app/views/location/new.rhtml b/app/views/location/new.rhtml new file mode 100644 index 0000000..60b5d2a --- /dev/null +++ b/app/views/location/new.rhtml @@ -0,0 +1,25 @@ +<%= render :partial => "person/nav" %> + +

New Location

+ +<%= start_form_tag :action => 'create', :id => @location %> + + + + + + + + + + + + <%= hidden_field 'location', 'pixel_x' %> + <%= hidden_field 'location', 'pixel_y' %> + +
Name<%= text_field 'location', 'name' %>*
Strasse<%= text_field 'location', 'street' %>
Hausnr.<%= text_field 'location', 'streetnr' %>
Kommentar<%= text_area 'location', 'comment' %>
+ <%= submit_tag 'Create' %> +<%= end_form_tag %> + +

Bitte Felder mit * eintragen

+

Unter Name bitte nur Kleinbuchstaben und Ziffern ohne Leerzeichen eintragen

-- cgit v1.2.1