projects
/
MojoFacets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
2194c3d
)
Merge branch 'master' into save_change
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Thu, 3 Jun 2010 17:25:58 +0000
(19:25 +0200)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Thu, 3 Jun 2010 17:25:58 +0000
(19:25 +0200)
templates/data/index.html.ep
patch
|
blob
|
history
diff --git
a/templates/data/index.html.ep
b/templates/data/index.html.ep
index
3da68ca
..
3406459
100644
(file)
--- a/
templates/data/index.html.ep
+++ b/
templates/data/index.html.ep
@@
-1,4
+1,6
@@
% layout 'default';
+% my $path = session('path');
+
<h2>Select data file to load</h2>
<form method=post action=/data/load >
@@
-11,7
+13,7
@@
% foreach my $n ( @$files ) {
<tr><td>
<label>
-<input name=path type=radio value="<%= $n %>" <%=
defined $loaded->{session('path')}->{data} eq $n
? 'disabled' : '' %>>
+<input name=path type=radio value="<%= $n %>" <%=
$n eq $path && defined $loaded->{$path}->{data}
? 'disabled' : '' %>>
<%= $n %>
</label>
</td><td class=bytes><%= $size->{$n} %>