{% extends 'user_panel/default/base.html' %}

{% block content %}



<div class="container">
    <div class="row">

<a href="/project/{{ project.id }}">
        <div class="col-xs-12 col-sm-6 col-md-6 col-lg-6 col-lg-offset-3" >
            <div class="box  opacity" >
                <div class="box-icon">
                    <span class="fa fa-4x fa-html5"></span>
                </div>
                <div class="info">
                    <h4 class="text-center"> Nowy projekt</h4>
                </div>
            </div>
        </div>
</a>

{% for project in user_projects %}
<a href="/project/{{ project.id }}">
        <div class="col-xs-12 col-sm-6 col-md-6 col-lg-6 col-lg-offset-3" >
            <div class="box  opacity" >
                <div class="box-icon">
                    <span class="fa fa-4x fa-html5"></span>
                </div>
                <div class="info">
                    <h4 class="text-center">{{ project.name }}</h4>
                    <p>{{ project.description }}</p>
                </div>
            </div>
        </div>
</a>

{% endfor %}

	</div>
</div>


{% endblock content %}