Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

32 řádky
941B

  1. $def with (nav, apply_form, get_apply_permission_form, project, applicants)
  2. <head>
  3. <title>Beelance2</title>
  4. <meta charset="utf-8">
  5. <link rel="stylesheet" type="text/css" href="static/stylesheet.css">
  6. <link rel="shortcut icon" type="image/png" href="static/honeybee.png"/>
  7. </head>
  8. <body>
  9. $:nav
  10. <h1>Apply for this project</h1>
  11. $if project[5] == "open" and session.userid != project[2]:
  12. <h2>Title: $project[3]</h2>
  13. <p>Description: $project[4]</p>
  14. <p>Status: $project[5]</p>
  15. <form method="POST">
  16. <p>Users to apply:</p>
  17. $applicants
  18. $:apply_form.render()
  19. $for i, user in enumerate(applicants):
  20. $ apply_permissions_form = get_apply_permissions_form(i, userid=user)
  21. $user[1]
  22. $:apply_permissions_form.render()
  23. </form>
  24. </body>