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/person/edit.rhtml |
Import legacy manman source
Copied from www.ffgraz.net
Diffstat (limited to 'app/views/person/edit.rhtml')
-rw-r--r-- | app/views/person/edit.rhtml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/app/views/person/edit.rhtml b/app/views/person/edit.rhtml new file mode 100644 index 0000000..7c0f1da --- /dev/null +++ b/app/views/person/edit.rhtml @@ -0,0 +1,26 @@ +<%= render :partial => "person/nav" %> +<h1>Person</h1> +<%= start_form_tag :action => 'update', :id => @person %> + <table> + <tr> + <td>nick</td><td><%= text_field 'person', 'nick' %></td> + </tr> + <tr> + <td>Vorname</td><td><%= text_field 'person', 'firstname' %></td> + </tr> + <tr> + <td>Nachname</td><td><%= text_field 'person', 'lastname' %></td> + </tr> + <tr> + <td>Email:</td><td><%= text_field 'person', 'email' %></td> + </tr> + <tr> + <td>Tel:</td><td><%= text_field 'person', 'tel' %></td> + </tr> + </table> + <%= submit_tag 'Edit' %> +<%= end_form_tag %> + +<%= link_to 'Show', :action => 'show', :id => @person %> | +<%= link_to 'Back', :action => 'list' %> + |