| {% extends "base.html" %} |
| {% block title %}{{ page.title|striptags|escape }} | {{ SITENAME }}{% endblock %} |
| |
| {% block subheader %}{% endblock %} |
| |
| {% block content %} |
| |
| <article> |
| <div class="article_title"> |
| <h1><a href="{{ SITEURL }}/{{ page.url }}" class="nohover">{{ page.title }}</a></h1> |
| </div> |
| <div class="article_text"> |
| {{ page.content }} |
| </div> |
| <div class="article_text"> |
| <?php echo form_open('invite/view', 'id = inviteform'); ?> |
| <fieldset class="field"> |
| <div class="form_errors"><?php echo form_error('username'); ?></div> |
| <input class="input" type="text" name="username" placeholder="Username" id="username"> |
| </fieldset> |
| |
| <fieldset class="field"> |
| <div class="form_errors"><?php echo form_error('password'); ?></div> |
| <input class="input" type="password" name="password" placeholder="Password" id="password"> |
| </fieldset> |
| |
| <fieldset class="field"> |
| <div class="form_errors"><?php echo form_error('passconf'); ?></div> |
| <input class="input" type="password" name="passconf" placeholder="Repeat password" id="passconf"> |
| </fieldset> |
| |
| <fieldset class="field"> |
| <div class="form_errors"><?php echo form_error('email'); ?></div> |
| <input class="input" type="email" name="email" placeholder="example@domain.com" id="email"> |
| </fieldset> |
| |
| <fieldset class="field"> |
| <input class="button submit" type="submit" value="Invite me"> |
| </fieldset> |
| |
| <fieldset class="field"> |
| <div class="form_errors"><?php echo form_error('submit_msg'); ?></div> |
| <div class="submit_msg"><?php echo form_message(); ?></div> |
| <input type="hidden" name="submit_msg" id="submit_msg"> |
| </fieldset> |
| </form> |
| </div> |
| </article> |
| {% endblock %} |
| |
| {% block scripts %} |
| {{ super() }} |
| {% endblock scripts %} |