<%inherit file="base.html" /> <%! import mylar from mylar.helpers import checked %> <%def name="headerIncludes()">
%if explicit == 'loose': Search ALL terms Explicit Search %elif explicit == 'explicit': Loose Search Search ALL terms %elif explicit == 'all': Explicit Search Loose Search %endif
<%def name="body()">
<% if explicit == 'loose': searchtext = "Loose Search results for:
" + name + "
" elif explicit == 'explicit': searchtext = "Explicit Search results for:
" + name + "
" else: searchtext = "Search results for :
" + name + "
" %>

Search results${searchtext}

%if searchresults: %for result in searchresults: <% if result['comicyear'] == '2014': grade = 'A' else: grade = 'Z' if result['haveit'] == "Yes": grade = 'H'; %> %if result['haveit'] == "No": %else: %endif %endfor %endif
Comic Name Publisher Year Issues
${result['name']} ${result['publisher']} ${result['comicyear']} ${result['issues']} Add this Comicalready in library
<%def name="headIncludes()"> <%def name="javascriptIncludes()">