oacpl/charter_members/templates/attorney.html

24 lines
1.1 KiB
HTML
Raw Normal View History

2017-08-17 13:20:57 -04:00
{% extends 'base.html' %}
{% block body %}
<div class="container-fluid">
<div class="row bg-dark-primary">
<div class="col-lg-3 ml-auto">
<h2 class="d-lg-none text-white mt-3">{{ attorney.name }}</h2>
<div class="p-2 my-3 shadow bg-white">
2017-08-17 14:47:29 -04:00
<img class="d-block mx-auto" src="/media/{{ attorney.image }}" style="max-width: 100%"/>
2017-08-17 13:20:57 -04:00
</div>
{% if attorney.phone %}<p class="text-white"><i class="fa fa-phone"> {{ attorney.phone_formatted }}</i></p>{% endif %}
{% if attorney.email %}<p class="text-white"><i class="fa fa-envelope"> {{ attorney.email }}</i></p>{% endif %}
{% if attorney.website %}<p class="text-white"><i class="fa fa-globe"> {{ attorney.website }}</i></p>{% endif %}
</div>
<div class="col-lg-6 pt-3 bg-light-blue">
<div class="col-lg-6">
<h2 class="d-none d-lg-inline text-dark-primary">{{ attorney.name }}</h2>
2017-08-17 14:22:50 -04:00
<p>{{ attorney.biography }}</p>
2017-08-17 13:20:57 -04:00
</div>
</div>
</div>
</div>
{% endblock %}