/[Frey]/trunk/lib/App/RoomReservation/Reservation.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/lib/App/RoomReservation/Reservation.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1153 by dpavlin, Wed Jul 1 22:39:34 2009 UTC revision 1164 by dpavlin, Thu Jul 2 17:59:56 2009 UTC
# Line 61  has telefon => ( Line 61  has telefon => (
61  has mobitel => (  has mobitel => (
62          is => 'rw',          is => 'rw',
63          isa => 'Str',          isa => 'Str',
64          required => 1,          default => '', # FIXME without this we get undef in form
65  );  );
66    
67  has email => (  has email => (
# Line 88  has _seat_number => ( Line 88  has _seat_number => (
88          isa => 'Int',          isa => 'Int',
89  );  );
90    
91    has _canceled => (
92            is => 'rw',
93            isa => 'Bool',
94            default => sub { 0 },
95    );
96    
97    sub form_labels {{
98            ime => 'Ime',
99            prezime => 'Prezime',
100            institucija => 'Institucija',
101            zanimanje => 'Zanimanje',
102            grad => 'Grad',
103            drzava => 'Država',
104            telefon => 'Telefon',
105            mobitel => 'Mobitel',
106            email => 'e-mail adresa',
107            verify => 'unesite ponovo',
108            submit => 'Pošalji', # submit button
109    }}
110    
111  sub BUILD {  sub BUILD {
112          my $self = shift;          my $self = shift;
113          my $email = $self->email;          my $email = $self->email;

Legend:
Removed from v.1153  
changed lines
  Added in v.1164

  ViewVC Help
Powered by ViewVC 1.1.26