summaryrefslogtreecommitdiff
path: root/httemplate/elements/tr-fixed-country.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/elements/tr-fixed-country.html')
-rw-r--r--httemplate/elements/tr-fixed-country.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/httemplate/elements/tr-fixed-country.html b/httemplate/elements/tr-fixed-country.html
new file mode 100644
index 0000000..806d92c
--- /dev/null
+++ b/httemplate/elements/tr-fixed-country.html
@@ -0,0 +1,10 @@
+<% include('tr-fixed.html', %opt ) %>
+<%init>
+
+my %opt = @_;
+
+my $value = $opt{'curr_value'} || $opt{'value'};
+
+$opt{'formatted_value'} = code2country($value). " ($value)";
+
+</%init>