<% mt('Start') |h %>
|
- param('start') eq '' ? 'CHECKED' : ''%>>Now
+ param('start') eq '' ? 'CHECKED' : ''%>
+ <% $pkgpart ? '' : 'DISABLED' %>
+ >Now
- param('start') eq 'on_hold' ? 'CHECKED' : ''%>>On hold
+ param('start') eq 'on_hold' ? 'CHECKED' : ''%>
+ <% $pkgpart ? '' : 'DISABLED' %>
+ >On hold
- param('start') eq 'date' ? 'CHECKED' : ''%>>On date
+ param('start') eq 'date' ? 'CHECKED' : ''%>
+ <% $pkgpart ? '' : 'DISABLED' %>
+ >On date
+
+ <& /elements/input-date-field.html,
+ { 'name' => 'start_date',
+ 'format' => $date_format,
+ 'value' => '',
+ 'noinit' => 1,
+ }
+ &>
- <& /elements/input-date-field.html,{
- 'name' => 'start_date',
- 'format' => $date_format,
- 'value' => '',
- 'noinit' => 1,
- } &>
|
@@ -116,17 +136,16 @@