Self hosted FLOSS fitness/workout, nutrition and weight tracker
Move the login template to the folder with the user-related ones
Roland Geidere7470fe35d47
diff --git a/manager/templates/login.html b/manager/templates/user/login.htmlsimilarity index 87%rename from manager/templates/login.htmlrename to manager/templates/user/login.htmlindex 6efe58d00..292734489 100644--- a/manager/templates/login.html+++ b/manager/templates/user/login.html@@ -20,8 +20,9 @@{% include "form_snippet.html" with field=form.username %}{% include "form_snippet.html" with field=form.password %}<tr>- <td><input type="submit" value="{% trans 'Login' %}" /></td>- <td></td>+ <td colspan="2">+ <input type="submit" value="{% trans 'Save' %}" id="form-save">+ </td></tr></table></form>diff --git a/manager/views.py b/manager/views.pyindex 47f15dc50..7c157360b 100644--- a/manager/views.py+++ b/manager/views.py@@ -185,7 +185,7 @@ def login(request):template_data['redirect_target'] = redirect_target- return render_to_response('login.html',+ return render_to_response('user/login.html',template_data,context_instance=RequestContext(request))