X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Felements%2Fedit.html;h=b0c27e62afdd42b492f81d7952f45415aae44dc1;hb=e356f2ebb6564fe8d5333fc89bb4583ee3cd1fb1;hp=142d0c3ae9aa99b9060ad8b179963fa7bf2d2878;hpb=46ef8524cf2e6db7b851967062ce92ffb0773d10;p=freeside.git diff --git a/httemplate/edit/elements/edit.html b/httemplate/edit/elements/edit.html index 142d0c3ae..b0c27e62a 100644 --- a/httemplate/edit/elements/edit.html +++ b/httemplate/edit/elements/edit.html @@ -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; % }; %