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/_pshow.rhtml |
Import legacy manman source
Copied from www.ffgraz.net
Diffstat (limited to 'app/views/person/_pshow.rhtml')
-rw-r--r-- | app/views/person/_pshow.rhtml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/app/views/person/_pshow.rhtml b/app/views/person/_pshow.rhtml new file mode 100644 index 0000000..61a1f32 --- /dev/null +++ b/app/views/person/_pshow.rhtml @@ -0,0 +1,20 @@ +<% if @person != nil %> +<table> + <tr> + <td>Nick:</td><td><%= @person.nick %></td> + </tr> + <tr> + <td>Email:</td><td><%= mail_to @person.email, @person.email, :encode => 'hex' %></td> + </tr> + <tr> + <td>Tel:</td><td><%= @person.tel %></td> + </tr> +</table> +<p> + <%= link_to 'Show', { :action => 'show', :controller => 'person', :id => @person.id } %> | + <%= link_to 'Edit', { :action => 'edit', :controller => 'person', :id => @person.id } %> | + <%= link_to 'Change Password', { :action => 'change_pass', + :controller => 'person', + :id => @person.id } %> +</p> +<% end %> |