20 lines
585 B
HTML
20 lines
585 B
HTML
{% extends 'base.html' %}
|
|
|
|
{% block title %} New deployment {% endblock %}
|
|
|
|
{% block content %}
|
|
{% if user.is_authenticated %}
|
|
{{ user.username }}'s new deployment
|
|
<form action="" method="post">
|
|
{% csrf_token %}
|
|
{{ form }}
|
|
<input type="submit" value="create">
|
|
</form>
|
|
{% else %}
|
|
<div class="row justify-content-md-center">
|
|
<div class="col-lg-8 col-md-8 col-sm-6">
|
|
<h4 style="text-align: center;">Please log in !</h4>
|
|
</div>
|
|
</div>
|
|
{% endif %}
|
|
{% endblock %} |