From 6717fd0d3330e6571d1094031ef1fd2a3b8b8611 Mon Sep 17 00:00:00 2001 From: clash99 Date: Thu, 1 Jun 2017 22:43:07 -0500 Subject: [PATCH] Adjusted date picker localization file url Simplified code --- cadasta/templates/party/party_add.html | 5 +---- cadasta/templates/party/party_edit.html | 5 +---- cadasta/templates/party/relationship_edit.html | 5 +---- cadasta/templates/spatial/location_add.html | 5 +---- cadasta/templates/spatial/location_edit.html | 5 +---- cadasta/templates/spatial/relationship_add.html | 5 +---- 6 files changed, 6 insertions(+), 24 deletions(-) diff --git a/cadasta/templates/party/party_add.html b/cadasta/templates/party/party_add.html index c86c5329f..e04fd779c 100644 --- a/cadasta/templates/party/party_add.html +++ b/cadasta/templates/party/party_add.html @@ -14,10 +14,7 @@ {{ form.media }} -{% if get_current_language != "en-us" %} -{% get_current_language as LANGUAGE_CODE %} - -{% endif %} + -{% if get_current_language != "en-us" %} -{% get_current_language as LANGUAGE_CODE %} - -{% endif %} + -{% if get_current_language != "en-us" %} -{% get_current_language as LANGUAGE_CODE %} - -{% endif %} + -{% if get_current_language != "en-us" %} -{% get_current_language as LANGUAGE_CODE %} - -{% endif %} + -{% if get_current_language != "en-us" %} -{% get_current_language as LANGUAGE_CODE %} - -{% endif %} + - {% if get_current_language != "en-us" %} - {% get_current_language as LANGUAGE_CODE %} - - {% endif %} +