Merge branch 'bzr/golem' of /Users/distler/Sites/code/instiki

This commit is contained in:
Jacques Distler 2010-10-09 10:34:58 -05:00
commit 3660f13c84

View file

@ -18,15 +18,16 @@
<% if params['category'] -%> <% if params['category'] -%>
<input type="hidden" name="category" value="<%= params['category'] %>"/> <input type="hidden" name="category" value="<%= params['category'] %>"/>
<%- end -%> <%- end -%>
<ul style="list-style-type:none"> <ul id="sortable_pages" style="list-style-type:none">
<%- @pages_in_category.each do |page| -%> <%- @pages_in_category.each do |page| -%>
<li> <% content_tag_for :li, page do %>
<input type="checkbox" name="<%= page.name %>" value="tex"/> <input type="checkbox" name="<%= page.name %>" value="tex"/>
<%= link_to_existing_page page, truncate(page.plain_name, :length => 35) %> <%= link_to_existing_page page, truncate(page.plain_name, :length => 35) %>
</li> <% end %>
<%- end -%> <%- end -%>
</ul> </ul>
<p> Export selected pages to a LaTeX file. <%= sortable_element('sortable_pages') %>
<p> Export selected pages (drag to re-order them) to a LaTeX file.
<%= submit_tag("Export") %> <%= submit_tag("Export") %>
</p> </p>
</div> </div>