@(message: String,books : List[models.Book], conditions : List[models.Condition], offers : List[models.CurrentOffer], bookSelected : Long , price : String ,conditionSelected : Long ) @implicitFieldConstructor = @{ helper.FieldConstructor(twitterBootstrapInput.render) } @main("My Offers") {

Create a Book Offer

@helper.form(action = routes.CurrentOffer.newOffer()) {
Book
@for(book <- books) { @if(bookSelected == book.getPrimaryKey()){ }}
Version ISBN Bookstore Price Cover
Condition
Price




}






@message

@for(offer <- offers) { }
Book Condition Request Price
@offer.getBook().getTitle() @offer.getCondition().getName()
@if(offers.size() ==0){ No Current Offers}
}