
{% load static %}
{% load widget_tweaks %}
{% load crispy_forms_tags %}

<html>
 <head>
  <link href="css/bootstrap.min.css" rel="stylesheet">
        <link rel="stylesheet" media="screen" href="{% static 'css/tiny_slider.css' %}"/>
        <link rel="stylesheet" media="screen" href="{% static 'css/simple.css' %}"/>
        <link rel="stylesheet" media="screen" href="{% static 'css/theme_min.css' %}">
        <link rel="stylesheet" href="{% static 'css/smtp1.css' %}">
	    <link rel="stylesheet" href="{% static 'css/smtp2.css' %}">
	    <link rel="stylesheet" href="{% static 'css/smtp3.css' %}">
	    <link rel="stylesheet" href="{% static 'css/smtp4.css' %}">
	    <link rel="stylesheet" href="{% static 'css/smtp5.css' %}">

 </head>
<body>
<main>
<!--  {% if messages %}-->
<!--<div class="mt-5">-->
<!--    {% for message in messages %}-->

<!--	<div class="alert {{ message.tags }}" >-->
<!--		{{status}}-->
<!--	</div>-->

<!--    {% endfor %}-->
<!--</div>-->
<!--{% endif %}-->

{{status_pro}}

<div class="row">
 <div class="col-xl-4 col-lg-6 col-md-6 d-flex flex-column mx-auto">
   <div class="card card-plain mt-sm-5 mt-4">
	<h4 class="font-weight-bolder text-primary text-gradient">{{status}}</h4>

	<div class="card-header pb-0 text-left">
		<h3 class="font-weight-bolder text-primary text-gradient">Submit your idea today</h3>

	</div>

	<div class="card-body pb-3">
		<form action="{% url 'Project_idea' %}" method="post">

			          {% csrf_token %}

                      {% for field in pro_form %}

                                            {{field.label}}
                                            {% render_field field class="form-control" %}
                                            {{field.errors}}
            <br>
                      {% endfor %}


			<div class="text-center">
<!--				<a rel="stylesheet" href="" class="btn bg-gradient-primary w-100 mt-4 mb-0">SignUp</a>-->
				<input type="submit" value="Submit Idea" name="idea_sub" class="btn bg-gradient-primary w-60 mt-4 mb-0">
			</div>
		</form>
	</div>


</div>
</div>
</div>
</main>
<script src="{% static 'js/smtp1.js' %}"></script>
</body>
</html>