extends ../../layout
block content
div.container
h1=__("admin.new")+" "+__("sandwich")
div.row
form(action="/admin/sandwiches/add" method="POST")
div.input-field.col.s12
label(for="name")=__("admin.name")+":"
input#name(type="text" name="name" required)
label(for="price")=__("admin.price") + ":"
input#price(type="number" min="0" step="any" name="price" value="0" required)
p
label(for="enable")
input#enable(type="checkbox" name="enable" checked)
span=__("admin.enable")
div.row.center
+submit(__("admin.add"))