Skip to content

Commit e4dc7c6

Browse files
committed
Add link from profile to change address
1 parent c2d55cc commit e4dc7c6

2 files changed

Lines changed: 8 additions & 3 deletions

File tree

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
11
@import 'apps/commons/static/commons/css/base';
2+
3+
.pb-vertical {
4+
flex-direction: column;
5+
align-items: baseline;
6+
}

apps/members/templates/members/profile.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ <h3 class="panel-heading">Datos personales</h3>
1919

2020
<nav class="panel">
2121
<h3 class="panel-heading">Socio/a: #{{ member.pk }}</h3>
22-
<div class="panel-block">
23-
22+
<div class="panel-block pb-vertical">
2423
<table class="table table-striped">
2524
<tr>
2625
<th>Dirección</th>
@@ -43,9 +42,10 @@ <h3 class="panel-heading">Socio/a: #{{ member.pk }}</h3>
4342
<td>{{ member.phone|default:"No disponible" }}</td>
4443
</tr>
4544
</table>
45+
46+
<a href="{% url 'members:address_change' %}"><i class="fas fa-edit"></i> Actualizar datos</a>
4647
</div>
4748
</nav>
48-
4949
</div>
5050

5151
{% endblock content %}

0 commit comments

Comments
 (0)