apply edits on this or any other loaded dataset
[MojoFacets.git] / templates / changes / edits.html.ep
1 % layout 'default';
2
3 <pre class=debug>
4 <%= dumper( $loaded ) %>
5 <%= dumper( $stats ) %>
6 </pre>
7
8 <form method=post>
9 <input type=submit value="Apply"> on
10 <select name=apply_on_path>
11 % foreach my $p ( @$loaded ) {
12 <option><%= $p %></option>
13 % }
14 </select>
15 </form>
16
17 % foreach my $e ( @$edits ) {
18 <div class="edit edit-<%= $e->{_apply} || 'unknown' %>">
19 <a href="<%= url_for( action => 'edit' )->query( remove => $e->{time} ) %>">remove</a>
20 <%= $e->{_apply} %>
21 <pre class=debug><%= dumper $e %></pre>
22 </div>
23 % }