dynamicweb/membership/templates/login.html

53 lines
1.9 KiB
HTML
Raw Permalink Normal View History

{% extends "new_base_glarus.html" %}
{% load staticfiles cms_tags bootstrap3%}
{% block title %}crowdfunding{% endblock %}
2016-03-07 16:49:02 +00:00
{% block content %}
<section class="login">
2016-03-07 16:49:02 +00:00
<div class="container">
2016-03-03 21:55:23 +00:00
<div class="row">
2016-03-07 16:49:02 +00:00
<div class="col-md-6">
<h1>I'm already a member!</h1>
<p>To book you need to be logged in.</p>
<h2>Log in</h2>
<hr>
<form role="form" action="" method="POST" novalidate>
2016-03-07 16:49:02 +00:00
{% csrf_token %}
{% for field in login_form %}
<div class="form-group">
<input type="hidden" name="is_login" value="True">
{% bootstrap_field field type='fields'%}
2016-03-07 16:49:02 +00:00
</div>
{% endfor %}
{{ login_form.non_field_errors }}
2016-03-07 16:49:02 +00:00
<button type="submit" class="btn btn-default">Submit</button>
</form>
</div>
<div class="col-md-6">
<h1></h1>
<h1>Not yet a member?</h1>
<p>It only takes your email to register!
You'll get a mail from us for confirmation.</p>
<h2>Register</h2>
<hr>
<form role="form" action="" method="POST" novalidate>
{% csrf_token %}
2016-03-07 16:49:02 +00:00
<div class="form-group">
{% for field in register_form %}
{% bootstrap_field field type='fields'%}
<!-- <label class="control-label">{{ field.label }}</label> -->
<!-- {{ field }} -->
2016-03-07 16:49:02 +00:00
{% endfor %}
</div>
<button type="submit" class="btn btn-default">Submit</button>
</form>
</div>
2016-03-03 21:55:23 +00:00
</div>
</div>
</section>
2016-03-03 21:55:23 +00:00
{% endblock %}