|
- $def with (nav, apply_form, get_apply_permission_form, project, applicants)
-
- <head>
- <title>Beelance2</title>
- <meta charset="utf-8">
- <link rel="stylesheet" type="text/css" href="static/stylesheet.css">
- <link rel="shortcut icon" type="image/png" href="static/honeybee.png"/>
- </head>
-
- <body>
-
- $:nav
-
- <h1>Apply for this project</h1>
-
- $if project[5] == "open" and session.userid != project[2]:
- <h2>Title: $project[3]</h2>
- <p>Description: $project[4]</p>
- <p>Status: $project[5]</p>
-
-
- <form method="POST">
- <p>Users to apply:</p>
- $applicants
- $:apply_form.render()
- $for i, user in enumerate(applicants):
- <div>
- $ apply_permissions_form = get_apply_permissions_form(i, userid=user)
- $user[1]
- $:apply_permissions_form.render()
- </div>
- </form>
-
- </body>
|