/[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 1155 by dpavlin, Thu Jul 2 10:12:54 2009 UTC revision 1163 by dpavlin, Thu Jul 2 17:57:07 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 94  has _canceled => ( Line 94  has _canceled => (
94          default => sub { 0 },          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    }}
109    
110  sub BUILD {  sub BUILD {
111          my $self = shift;          my $self = shift;
112          my $email = $self->email;          my $email = $self->email;

Legend:
Removed from v.1155  
changed lines
  Added in v.1163

  ViewVC Help
Powered by ViewVC 1.1.26