From 88d6a74595039e090c6eea0ec90ba3e3730fd551 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9D=D0=B0=D0=B7=D0=B0=D1=80=20=D0=9A=D0=BE=D1=82=D1=8E?= =?UTF-8?q?=D0=BA?= Date: Tue, 13 Jan 2015 11:31:21 +0200 Subject: [PATCH] company form in nuser profile --- templates/client/accounts/user.html | 4 ++++ templates/client/includes/accounts/current_user.html | 1 + 2 files changed, 5 insertions(+) diff --git a/templates/client/accounts/user.html b/templates/client/accounts/user.html index 3eaa18e9..5d76c2cf 100644 --- a/templates/client/accounts/user.html +++ b/templates/client/accounts/user.html @@ -40,5 +40,9 @@ + +{% if request.user == member %} + {% include 'popups/create_company.html' with form=company_form %} +{% endif %} {% endblock %} {% endif %} \ No newline at end of file diff --git a/templates/client/includes/accounts/current_user.html b/templates/client/includes/accounts/current_user.html index 45dd4933..a8103e63 100644 --- a/templates/client/includes/accounts/current_user.html +++ b/templates/client/includes/accounts/current_user.html @@ -444,6 +444,7 @@ + {% block scripts %}