return {}
-@route('/search_authors/', method='POST')
+@route('/list_authors', method='GET')
+def _list_authors():
+ return redirect('/list_authors/')
+
+
+@route('/list_authors/', method='GET')
+@cheetah_view('list_authors.tmpl')
+def list_authors_get():
+ value = request.query.get('search_authors')
+ if not value:
+ return redirect('/search_authors/')
+ search_type = request.query.get('search_type')
+ case_sensitive = request.query.get('case_sensitive')
+ return search_authors_raw(value, search_type, case_sensitive)
+
+
+@route('/list_authors/', method='POST')
@cheetah_view('list_authors.tmpl')
-def search_authors_post():
+def list_authors_post():
value = request.forms.get('search_authors')
if not value:
return redirect('/search_authors/')
currentTime=time.time
__CHEETAH_version__ = '3.3.1'
__CHEETAH_versionTuple__ = (3, 3, 1, 'final', 0)
-__CHEETAH_genTime__ = 1704845598.452284
-__CHEETAH_genTimestamp__ = 'Wed Jan 10 03:13:18 2024'
+__CHEETAH_genTime__ = 1720463312.154712
+__CHEETAH_genTimestamp__ = 'Mon Jul 8 21:28:32 2024'
__CHEETAH_src__ = 'search_authors_form.tmpl'
-__CHEETAH_srcLastModified__ = 'Wed Jan 10 03:02:59 2024'
+__CHEETAH_srcLastModified__ = 'Mon Jul 8 21:28:30 2024'
__CHEETAH_docstring__ = 'Autogenerated by Cheetah: The Python-Powered Template Engine'
if __CHEETAH_versionTuple__ < RequiredCheetahVersionTuple:
########################################
## START - generated method body
- write(u'''<form action="/search_authors/" method="POST">
+ write(u'''<form action="/list_authors/" method="POST">
<div style="width: 100%">
<input name="search_authors" value="''')
_v = VFFSL(SL,"html_escape",False)(VFFSL(SL,"getVar",False)('search_authors',
checked#slurp
#end if
#end def
-<form action="/search_authors/" method="POST">
+<form action="/list_authors/" method="POST">
<div style="width: 100%">
<input name="search_authors" value="$html_escape($getVar('search_authors',
''))" type="text" style="width: 100%">