Created
December 3, 2017 15:59
-
-
Save juanfvasquez/e145a5aef2cb2ffa0016ee13fb641f33 to your computer and use it in GitHub Desktop.
Companies View
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% extends 'master' %} | |
{% block section %} | |
<div class="contentDiv"> | |
<div class="input-group input-group-lg inputSearch"> | |
<span class="input-group-addon" id="sizing-addon1"><i class="fa fa-search"></i></span> | |
<input type="text" class="form-control" placeholder="Buscar" aria-describedby="sizing-addon1"> | |
</div> | |
<div> | |
{% for company in companies %} | |
<div class="col-sm-6 col-md-3"> | |
<div class="thumbnail"> | |
<img src="/img/companies/{{company.image}}" alt="{{ company.name }}"> | |
<div class="caption"> | |
<h3>{{ company.name }}</h3> | |
<p> | |
{% for cat in company.categories %} | |
{{ cat.category }} | |
{% endfor %} | |
</p> | |
<div class="cardButtonsDiv"> | |
<a href="#" class="btn btn-info btnThumb" role="button"><i class="fa fa-search"></i></a> | |
<a href="#" class="btn btn-danger btnThumb" role="button"><i class="fa fa-trash"></i></a> | |
</div> | |
</div> | |
</div> | |
</div> | |
{% endfor %} | |
</div> | |
<a href="/companies/create" class="btn btn-primary btn-block" role="button">Agregar</a> | |
{% endblock %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment