projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix broken svc unprovision link, RT13391
[freeside.git]
/
httemplate
/
elements
/
tr-input-text.html
diff --git
a/httemplate/elements/tr-input-text.html
b/httemplate/elements/tr-input-text.html
index
ac21cb5
..
2127933
100644
(file)
--- a/
httemplate/elements/tr-input-text.html
+++ b/
httemplate/elements/tr-input-text.html
@@
-1,16
+1,6
@@
<% include('tr-td-label.html', @_ ) %>
<% include('tr-td-label.html', @_ ) %>
- <TD <% $style %>>
-
- <% $opt{'prefix'} %><INPUT TYPE = "<% $opt{type} || 'text' %>"
- NAME = "<% $opt{field} %>"
- ID = "<% $opt{id} %>"
- VALUE = "<% $opt{curr_value} || $opt{value} %>"
- <% $size %>
- <% $onchange %>
- >
-
- </TD>
+ <TD <% $colspan %> <% $cell_style %> ID="<% $opt{input_id} || $opt{id}.'_input0' %>"><% include('input-text.html', @_ ) %></TD>
</TR>
</TR>
@@
-18,14
+8,8
@@
my %opt = @_;
my %opt = @_;
-my $onchange = $opt{'onchange'}
- ? 'onChange="'. $opt{'onchange'}. '(this)"'
- : '';
-
-my $size = $opt{'size'}
- ? 'SIZE="'. $opt{'size'}. '"'
- : '';
+my $cell_style = $opt{'cell_style'} ? 'STYLE="'. $opt{'cell_style'}. '"' : '';
-my $
style = $opt{'cell_style'} ? 'STYLE="'. $opt{'cell_style'}.
'"' : '';
+my $
colspan = $opt{'colspan'} ? 'COLSPAN="'.$opt{'colspan'}.
'"' : '';
</%init>
</%init>