mirror of
https://github.com/Steffo99/estus.git
synced 2024-11-21 23:24:18 +00:00
ops
This commit is contained in:
parent
dcdb2e59ac
commit
81f6b6f742
1 changed files with 2 additions and 1 deletions
|
@ -422,7 +422,8 @@ def page_serv_show(sid):
|
|||
if request.method == "GET":
|
||||
serv = Servizio.query.get_or_404(sid)
|
||||
enti = Ente.query.all()
|
||||
return render_template("servizio/show.htm", action="show", serv=serv, enti=enti)
|
||||
servizi = Servizio.query.order_by(Servizio.locazione).all()
|
||||
return render_template("servizio/show.htm", action="show", serv=serv, servizi=servizi, enti=enti)
|
||||
else:
|
||||
serv = Servizio.query.get_or_404(sid)
|
||||
serv.eid = request.form["eid"]
|
||||
|
|
Loading…
Reference in a new issue