% layout 'bootstrap'; % title "Import your subs"; %= form_for '/settings/import' => (method => 'post', enctype => 'multipart/form-data') => begin %= file_field 'opmlfile' => multiple => 'true' %= submit_button 'Import', 'class' => 'btn' % end
% if ($subs) {
% for my $item (@$subs) { % my ($dir, $align) = ($item->{rtl}) ? ('rtl', 'right') : ('ltr', 'left');
rss <%== $item->{title} %>
Categories %= join q{, }, sort @{ $item->{categories} || [] };
% }