missing changes from cdr_type
[freeside.git] / httemplate / edit / elements / edit.html
index 142d0c3..b0c27e6 100644 (file)
@@ -316,6 +316,11 @@ Example:
 %     foreach grep exists($f->{$_}),
 %       qw( formatted_value );
 %
+%   # select-country
+%   $include_common{$_} = $f->{$_}
+%     foreach grep exists($f->{$_}),
+%       qw( country );
+%
 %   #htmlarea
 %   $include_common{$_} = $f->{$_}
 %     foreach grep exists($f->{$_}), qw( width height );
@@ -356,6 +361,19 @@ Example:
 %         %include_common,
 %         %opt,
 %     );
+%
+%     if ( $include eq 'tr-input-date-field' ) {
+%      # it's either hacking it here, or changing a lot more stuff
+%      @include = (
+%              "/elements/$include.html", {
+%                      'name' => $field,
+%                      'value' => $opt{curr_value},
+%                      'label' => $label,
+%                      'noinit' => $f->{noinit},
+%              }
+%      );
+%     }
+%
 %     @include;
 %   };
 %