diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/main/jams/profile.html | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/templates/main/jams/profile.html b/templates/main/jams/profile.html index 5b0ee192..efa0e274 100644 --- a/templates/main/jams/profile.html +++ b/templates/main/jams/profile.html @@ -28,7 +28,11 @@ </p> {% endif %} - <form class="uk-form-horizontal" action="{{ url_for("main.jams.profile") }}" method="post"> + {% if form %} + <form class="uk-form-horizontal" action="{{ url_for("main.jams.profile", form=form) }}" method="post"> + {% else %} + <form class="uk-form-horizontal" action="{{ url_for("main.jams.profile") }}" method="post"> + {% endif %} <div> <div class="uk-form-label"> <label class="uk-form-label" for="dob">Date of Birth</label> |