17 |
column content => |
column content => |
18 |
label is _('Picture'), |
label is _('Picture'), |
19 |
type is 'bytea', |
type is 'bytea', |
20 |
render as 'Upload', |
# render as 'Upload', |
21 |
|
render as 'Arh::Web::Form::Field::Upload', |
22 |
is mandatory; |
is mandatory; |
23 |
|
|
24 |
column campaign => |
column campaign => |
41 |
is mandatory, |
is mandatory, |
42 |
is indexed; |
is indexed; |
43 |
|
|
44 |
|
column thumbnail => |
45 |
|
label is _('Thumbnail name'), |
46 |
|
is indexed, |
47 |
|
since '0.0.12'; |
48 |
|
|
49 |
|
column width => |
50 |
|
label is _('Thumbnail width'), |
51 |
|
type is 'int', |
52 |
|
since '0.0.12'; |
53 |
|
|
54 |
|
column height => |
55 |
|
label is _('Thumbnail height'), |
56 |
|
type is 'int', |
57 |
|
since '0.0.12'; |
58 |
|
|
59 |
}; |
}; |
60 |
|
|
61 |
# Your model-specific methods go here. |
# Your model-specific methods go here. |