From 8d5907e0d8af6d309ccd98dd2118cd2cd6471ec1 Mon Sep 17 00:00:00 2001 From: Ramon Gutierrez Date: Sun, 4 Feb 2018 19:29:36 +0800 Subject: [PATCH 1/6] Update hub list display to show branch name on outlet form --- templates/outlet/form.html.twig | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/templates/outlet/form.html.twig b/templates/outlet/form.html.twig index 73ce5f8c..e1df7a3f 100644 --- a/templates/outlet/form.html.twig +++ b/templates/outlet/form.html.twig @@ -24,7 +24,7 @@

{% if mode == 'update' %} Edit Outlet - {{ obj.getName() }} + {{ obj.getName }} {% else %} New Outlet {% endif %} @@ -32,7 +32,7 @@ -
+
@@ -40,14 +40,14 @@ - +
- +
@@ -98,7 +98,7 @@ From 2e1573feac2b24bd43425bea2c986b74ed5c8e4b Mon Sep 17 00:00:00 2001 From: Ramon Gutierrez Date: Sun, 4 Feb 2018 19:47:02 +0800 Subject: [PATCH 2/6] Update rider form hub list display + reposition plate number field --- templates/rider/form.html.twig | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/templates/rider/form.html.twig b/templates/rider/form.html.twig index def5e92c..7e40a6c5 100644 --- a/templates/rider/form.html.twig +++ b/templates/rider/form.html.twig @@ -53,23 +53,23 @@
+ + + +
+ +
+
-
-
- - - -
-
- +
@@ -45,14 +45,14 @@ - +
- +
@@ -64,7 +64,7 @@ @@ -76,7 +76,7 @@ @@ -88,12 +88,43 @@
+
+
+ +
+
+

+ Drop files here or click to upload. +

+ + Upload only valid PNG, GIF, or JPEG images + +
+
+ {% if mode == 'update' and obj.getImageFile %} + Leave blank for unchanged + {% endif %} + +
+ {% if mode == 'update' %} +
+ +
+
+ {% endif %} +
@@ -107,7 +138,7 @@ - + In months
@@ -115,7 +146,7 @@ - + In months @@ -133,7 +164,7 @@ - + In millimeters (mm) @@ -141,7 +172,7 @@ - + In millimeters (mm) @@ -149,7 +180,7 @@ - + In millimeters (mm) @@ -159,7 +190,7 @@ - + In millimeters (mm) @@ -167,7 +198,7 @@ - + In minutes @@ -193,7 +224,7 @@ @@ -212,6 +243,7 @@
+ Cancel
@@ -227,6 +259,31 @@ {% block scripts %}