blob: e73aede4c77be72c29a0677e1c4508f443644e52 [file] [log] [blame]
Luigi Santivettic6a6a562020-02-17 23:17:11 +00001{% extends "base.html" %}
2{% block title %}{{ page.title|striptags|escape }} | {{ SITENAME }}{% endblock %}
3
4{% block subheader %}{% endblock %}
5
6{% block content %}
7
8<article>
9 <div class="article_title">
10 <h1><a href="{{ SITEURL }}/{{ page.url }}" class="nohover">{{ page.title }}</a></h1>
11 </div>
12 <div class="article_text">
13 {{ page.content }}
14 </div>
15 <div class="article_text">
16 <?php echo form_open('invite/view', 'id = inviteform'); ?>
17 <fieldset class="field">
18 <div class="form_errors"><?php echo form_error('username'); ?></div>
19 <input class="input" type="text" name="username" placeholder="Username" id="username">
20 </fieldset>
21
22 <fieldset class="field">
23 <div class="form_errors"><?php echo form_error('password'); ?></div>
24 <input class="input" type="password" name="password" placeholder="Password" id="password">
25 </fieldset>
26
27 <fieldset class="field">
28 <div class="form_errors"><?php echo form_error('passconf'); ?></div>
29 <input class="input" type="password" name="passconf" placeholder="Repeat password" id="passconf">
30 </fieldset>
31
32 <fieldset class="field">
33 <div class="form_errors"><?php echo form_error('email'); ?></div>
34 <input class="input" type="email" name="email" placeholder="example@domain.com" id="email">
35 </fieldset>
36
37 <fieldset class="field">
38 <input class="button submit" type="submit" value="Invite me">
39 </fieldset>
40
41 <fieldset class="field">
42 <div class="form_errors"><?php echo form_error('submit_msg'); ?></div>
43 <div class="submit_msg"><?php echo form_message(); ?></div>
44 <input type="hidden" name="submit_msg" id="submit_msg">
45 </fieldset>
46 </form>
47 </div>
48</article>
49{% endblock %}
50
51{% block scripts %}
52{{ super() }}
53{% endblock scripts %}