@(saleForm: Form[SaleData])(implicit request: AuthRequest[AnyContent], flash: Flash, token: play.filters.csrf.CSRF.Token) @templates.ebe("Sell")(request.account) {

Sell a new item

@views.html.fragments.forms.globalErrors(saleForm) @helper.form(action = routes.Sale.sellSubmit(), 'class -> "pure-form pure-form-stacked") { @helper.CSRF.formField
@views.html.fragments.forms.labeledField(saleForm("name"), "text", "Item name") @views.html.fragments.forms.labeledField(saleForm("shortDescription"), "text", "Short description") @views.html.fragments.forms.labeledTextarea(saleForm("longDescription"), "text", "Long description")
@views.html.fragments.forms.labeledField(saleForm("endDate"), "date", "End date") @views.html.fragments.forms.labeledField(saleForm("initialPrice"), "number", "Initial price")
}
}