blob: c3301b2e212c1944614a5336f192f8f1d891a649 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
- if @person
%a{:href => "/alerts"} Current alerts
%a{:href => "/events"} Last day
%a{:href => "/preferences"} My preferences
%a{:href => "/logout"} Logout <strong>(#{@person.username})</strong>
- else
%form{:action => '/login', :method => :POST}
UsernameArse
%input{:name => 'username', :type => 'text', :size => 10}
Password
%input{:name => 'password', :type => 'password', :size => 10}
%input{:type => 'submit', :value => 'Log in'}
- if flash['error']
.error= flash['error']
|