requestmovies/data/wwwroot/search/index.html

17 lines
495 B
HTML

<h1>{{search_text}}</h1>
<form action="./search" method="get">
<nav class="no-space">
<div class="max field border left-round">
<input type="search" name="q" value="{{search_text_attr}}">
</div>
<input class="button large right-round" type="submit" value="Search">
</nav>
</form>
<div class="space"></div>
{{for movie in results}}
<div>
<a href="{{movie.url}}"><img src="{{movie.thumbnail}}" alt="thumbnail"> {{movie.title}}</a>
</div>
{{end}}