Created
December 5, 2018 10:03
-
-
Save 42force/a1d5ff853b8c87b6f2125eca6c623b3a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% extends 'index.html'%} | |
{% load crispy_forms_tags %} | |
{%block title%} REGISTRATION FORM {% endblock %} | |
<!-- {% load static %} | |
NO NEED FOR THIS FORM IS USING CRISPY FORMS | |
<link rel="stylesheet" href="{{ STATIC_URL }}uni_form/uni-form.css" type="text/css" /> | |
<link rel="stylesheet" href="{{ STATIC_URL }}uni_form/default.uni-form.css" type="text/css" /> --> | |
<!-- uni-form JS library, optional --> | |
<!-- <script src="{{ STATIC_URL }}uni_form/uni-form.jquery.js" type="text/javascript"></script> --> | |
{%block content%} | |
<!-- Image and text --> | |
<div class="container-marketing"> | |
<hr class="featurette-divider"> | |
<div class="container"> | |
<h1 class="display-2 text-center">Register Online</h1> | |
</div> | |
<div class="row justify-content-md-center"> | |
<form method="post"> | |
{%csrf_token%} | |
<div class="row"> | |
<div class="col-6"> | |
{{ form.email | as_crispy_field}} | |
</div> | |
<div class="col-6"> | |
{{ form.password | as_crispy_field}} | |
</div> | |
</div> | |
<div class="row"> | |
<div class="col-6"> | |
{{ form.first_name | as_crispy_field}} | |
</div> | |
<div class="col-6"> | |
{{ form.last_name | as_crispy_field}} | |
</div> | |
</div> | |
{{ form.address | as_crispy_field}} | |
{{ form.email | as_crispy_field}} | |
{{ form.mobilenumber | as_crispy_field}} | |
{{ form.homenumber | as_crispy_field }} | |
{{ form.civilstatus | as_crispy_field}} | |
{{ form.religion | as_crispy_field}} | |
<div class="g-recaptcha" data-sitekey="6Lc2XX0UAAAAAJ-FWpEsjpMeCXo0BvjqQIVuvuEE"></div> | |
<br> | |
<button class="btn btn-outline-success my-2 my-sm-0" type="submit">SUBMIT</button> | |
</form> | |
</div> | |
<hr class="featurette-divider"> | |
</div> | |
<!-- <h2>SIGN UP</h2> | |
<form method="post"> | |
{%csrf_token%} | |
{{form | crispy}} | |
<button type="submit" name="button">SUBMIT</button> | |
</form> --> | |
{%endblock%} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment