summaryrefslogtreecommitdiff
path: root/httemplate/elements/tr-fixed-state.html
diff options
context:
space:
mode:
authorivan <ivan>2008-01-04 02:23:20 +0000
committerivan <ivan>2008-01-04 02:23:20 +0000
commit93838a89d0010da5c4757a5dc4f626d6bfe806f8 (patch)
treea9e667398d85216116cc48e50c3d5efcb7e2ec7b /httemplate/elements/tr-fixed-state.html
parentf3dcab6b9862f3e4f85cdbeed428861e34271a51 (diff)
reprocussions: backporting elements from HEAD needed for edit.html
Diffstat (limited to 'httemplate/elements/tr-fixed-state.html')
-rw-r--r--httemplate/elements/tr-fixed-state.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/httemplate/elements/tr-fixed-state.html b/httemplate/elements/tr-fixed-state.html
new file mode 100644
index 000000000..eea30ddc5
--- /dev/null
+++ b/httemplate/elements/tr-fixed-state.html
@@ -0,0 +1,10 @@
+<% include('tr-fixed.html', %opt ) %>
+<%init>
+
+my %opt = @_;
+
+my $value = $opt{'curr_value'} || $opt{'value'};
+
+$opt{'formatted_value'} = state_label($value, $opt{'object'}->country);
+
+</%init>