Parent Directory | Revision Log
more tweaks on toggle edit to make it (partially) working -- it works in tests, but reports wrong message (?!)
1 | use strict; |
2 | use warnings; |
3 | |
4 | package Arh::Model::UnitPicture; |
5 | use Jifty::DBI::Schema; |
6 | |
7 | use Data::Dump qw/dump/; |
8 | |
9 | use Arh::Record schema { |
10 | |
11 | column unit => |
12 | refers_to Arh::Model::Unit, |
13 | label is _("Unit"), |
14 | is mandatory; |
15 | column picture => |
16 | refers_to Arh::Model::Picture, |
17 | label is _("Picture"), |
18 | ajax validates, |
19 | is mandatory; |
20 | |
21 | }; |
22 | |
23 | sub since { '0.0.11' }; |
24 | |
25 | # Your model-specific methods go here. |
26 | |
27 | use Arh::DefaultACL; |
28 | |
29 | 1; |
30 |
ViewVC Help | |
Powered by ViewVC 1.1.26 |