{% from "macros/_form.html" import render_form %} {% import "macros/_event.html" as misc %} {% extends "layout.html" %} {% block page_title %}🖄 {{project.name}}{% endblock %} {% block body_class %}projectpost{% endblock %} {% block content %} {% if (suggestions or stage) and project.progress and project.progress < 50 %}
{{stage.tip}}
{% for project in suggestions %}
{{ project.name }}

{{ project.summary }}

{% endfor %}
{% if not all_valid %}

{% for item in stage.conditions.validate %} {% if item.valid %}   {{ item.help }} {% else %}   {{ item.help }} {% endif %} {% endfor %}

{% endif %}
{% if all_valid %} {% endif %}
{% endif %} {% if stage %} {% if all_valid and stage['name'] == 'LIVE' %} {% else %} {% if not all_valid %}
{% endif %} {% endif %} {% endif %}

{% if stage %} Post {% else %} Comment {% endif %}

{{project.name}}

{% if config.S3_KEY %} {% endif %}
{% if stage %} {{ render_form(url_for('project.project_post', project_id=project.id), form) }} {% else %} {{ render_form(url_for('project.project_comment', project_id=project.id), form) }} {% endif %}
Project {% if stage %}
Edit Details
{% endif %}
{% include "includes/uploader.html" %} {% endblock %}