Last active
August 7, 2018 17:14
-
-
Save rupesh2017/352f4075fdf05e36e5586790e58c0c19 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% extends "layout.html" %} | |
{% block heading %}Book list{% endblock %} | |
{% block body %} | |
<h1>Book details</h1> | |
<table class="table table-striped"> | |
<thead> | |
<th scope="col">Isbn</th> | |
<th scope="col">Title</th> | |
<th scope="col">Author</th> | |
<th scope="col">Year</th> | |
</thead> | |
<tbody> | |
<tr> | |
<td>{{ flight.isbn }}</td> | |
<td>{{ flight.title }}</td> | |
<td>{{ flight.author }}</td> | |
<td>{{ flight.year }}</td> | |
</tr> | |
</tbody> | |
</table> | |
<ul> | |
{% for note in notes %} | |
<li>{{note}}</li> | |
{% endfor %} | |
</ul> | |
{{review}} | |
<h1>rating:{{rating}}</h1> | |
<h2>this is rating {{a}}</h2> | |
<div> | |
<h1>{{book_id}}</h1> | |
</div> | |
<form action="{{url_for('sbook',book_id=book_id)}}" method="post"> | |
<textarea rows="10" cols="100" placeholder="Write your Review" name="review"> | |
</textarea> | |
<input type="number" name="user"> | |
<button>Submit</button> | |
</form> | |
{% endblock %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment