summaryrefslogtreecommitdiff
path: root/httemplate/elements/tr-input-percentage.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/elements/tr-input-percentage.html')
-rw-r--r--httemplate/elements/tr-input-percentage.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/httemplate/elements/tr-input-percentage.html b/httemplate/elements/tr-input-percentage.html
new file mode 100644
index 0000000..ae553a9
--- /dev/null
+++ b/httemplate/elements/tr-input-percentage.html
@@ -0,0 +1,8 @@
+<% include('tr-input-text.html', @_,
+ 'type' => 'text',
+ 'postfix' => '%',
+ 'size' => 5, #6? check in IE (not a big deal)
+ 'maxlength' => 7,
+ 'text-align' => 'right',
+ )
+%>