2017-05-22 16:03:33 +00:00
|
|
|
{% load i18n %}
|
|
|
|
|
|
|
|
<form novalidate id ="beta_access" class="form-beta" method="POST" action="{% url 'datacenterlight:beta_access'%}">
|
|
|
|
{% csrf_token %}
|
|
|
|
{{ form.non_field_errors }}
|
|
|
|
<div>
|
|
|
|
{% for message in messages %}
|
|
|
|
<strong>{{ message }}</strong>
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
<div class="inputs">
|
|
|
|
<div class="form-group">
|
2017-05-26 13:53:21 +00:00
|
|
|
<input type="text" name="name" class="form-control" id="name" placeholder="{% trans 'Enter name' %}">
|
2017-05-22 16:03:33 +00:00
|
|
|
<span style="color: white">{{ form.name.errors|striptags}}</span>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
2017-05-26 13:53:21 +00:00
|
|
|
<input type="email" name="email" class="form-control" id="email" placeholder="{% trans 'Enter email' %}">
|
2017-05-22 16:03:33 +00:00
|
|
|
<span style="color: white">{{ form.email.errors|striptags}}</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-06-06 21:35:21 +00:00
|
|
|
<button type="submit" class="btn btn-default btn-transparent btn-lg">{% trans "Request Beta Access" %}</button>
|
2017-05-22 16:03:33 +00:00
|
|
|
</form>
|
|
|
|
<script>
|
|
|
|
$('#beta_access').ajaxForm({
|
|
|
|
target: '#beta_access_form', success: function(response) { }
|
|
|
|
});
|
2017-06-09 20:37:14 +00:00
|
|
|
</script>
|