diff --git a/module_activity/api/views.py b/module_activity/api/views.py index ac22560..b230e54 100644 --- a/module_activity/api/views.py +++ b/module_activity/api/views.py @@ -12,10 +12,13 @@ from module_project import constants, date_utils from module_project.service import OneSignalNotificationService from module_project.utils import ApiResponse -from ..models import (BeverageRecord, FoodIngredientRecord, FoodIngredintDataset, Bowel, ChronicCondition, FoodRecord, Intolerance, MealRecord, - MealSymptomRecord, Medication, PastTreatment, - PrincipalHealthData, Symptoms) -from .serializers import (FoodDatasetSerializer, FoodIngredientDatasetSerializer, BowelSerializer, ChronicConditionSerializer, +from ..models import (BeverageRecord, Bowel, ChronicCondition, + FoodIngredientRecord, FoodIngredintDataset, FoodRecord, + Intolerance, MealRecord, MealSymptomRecord, Medication, + PastTreatment, PrincipalHealthData, Symptoms) +from .serializers import (BowelSerializer, ChronicConditionSerializer, + FoodDatasetSerializer, + FoodIngredientDatasetSerializer, IAmPrincipalSerializer, IntoleranceSerializer, MealRecordSerializer, MealSymptomRecordSerializer, MedicationSerializer, PastTreatmentSerializer, diff --git a/templates/cdn_through_html/flatpicker_cdn_js.html b/templates/cdn_through_html/flatpicker_cdn_js.html index fd8581b..bebc98c 100644 --- a/templates/cdn_through_html/flatpicker_cdn_js.html +++ b/templates/cdn_through_html/flatpicker_cdn_js.html @@ -1,4 +1,2 @@ {% load static%} - - - \ No newline at end of file + \ No newline at end of file diff --git a/templates/module_iam/iam_principal_add.html b/templates/module_iam/iam_principal_add.html index 71c071a..fcd15d2 100644 --- a/templates/module_iam/iam_principal_add.html +++ b/templates/module_iam/iam_principal_add.html @@ -22,7 +22,7 @@
-
+ {% csrf_token %} {% include 'base_structure/includes/dynamic_template_form.html' with form=form %}
@@ -41,6 +41,106 @@ {% endblock content %} {% block javascript %} - + + {% endblock %} \ No newline at end of file diff --git a/templates/module_iam/profile_details_edit.html b/templates/module_iam/profile_details_edit.html index 91140b0..cee1889 100644 --- a/templates/module_iam/profile_details_edit.html +++ b/templates/module_iam/profile_details_edit.html @@ -3,6 +3,7 @@ {% block stylesheet %} {% include "cdn_through_html/filepond_cdn_css.html" %} +{% include "cdn_through_html/flatpicker_cdn_css.html" %} {% endblock %} @@ -45,6 +46,7 @@ {% include "cdn_through_html/filepond_cdn_js.html" %} +{% include "cdn_through_html/flatpicker_cdn_js.html" %}