diff options
author | Nicolas Braud-Santoni <nicoo@ffgraz.net> | 2016-08-07 16:39:42 +0200 |
---|---|---|
committer | Nicolas Braud-Santoni <nicoo@ffgraz.net> | 2016-08-07 16:39:42 +0200 |
commit | b6ca062670b342344df08b53fb216db619ef42bc (patch) | |
tree | 7680ac6b407239f6b7272c937e42f688b8de542c /app/views/location/new.rhtml |
Import legacy manman source
Copied from www.ffgraz.net
Diffstat (limited to 'app/views/location/new.rhtml')
-rw-r--r-- | app/views/location/new.rhtml | 25 |
1 files changed, 25 insertions, 0 deletions
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" %> + +<h1>New Location</h1> + +<%= start_form_tag :action => 'create', :id => @location %> + <table> + <tr> + <td>Name</td><td><%= text_field 'location', 'name' %>*</td> + </tr> + <tr> + <td>Strasse</td><td><%= text_field 'location', 'street' %></td> + </tr> + <tr> + <td>Hausnr.</td><td><%= text_field 'location', 'streetnr' %></td> + </tr> +<td>Kommentar</td><td><%= text_area 'location', 'comment' %></td> + <%= hidden_field 'location', 'pixel_x' %> + <%= hidden_field 'location', 'pixel_y' %> + </tr> + </table> + <%= submit_tag 'Create' %> +<%= end_form_tag %> + +<p>Bitte Felder mit <strong>*</strong> eintragen</p> +<p>Unter <strong>Name</strong> bitte nur Kleinbuchstaben und Ziffern <strong>ohne</ohne> Leerzeichen eintragen</p> |