Browse Source

Fixed minor problem in census list

Andrew Grant 6 months ago
parent
commit
581c8ee4e3

+ 1 - 1
src/main/resources/application.properties

@@ -2,7 +2,7 @@ spring.application.name=grants
 server.port=8086
 server.servlet.context-path=/grants
 spring.mvc.format.date=dd-MM-yyyy
-spring.profiles.active=uat
+spring.profiles.active=dev
 logging.level.scot.carricksoftware=trace
 
 

+ 1 - 1
src/main/resources/templates/census/list.html

@@ -53,7 +53,7 @@
                            th:text="'<<'"></a>
                          <a th:action="back" class="btn btn-secondary btn-sm"
                             th:href="@{/censuses/prev}" th:text="'<'"></a>
-                         <a th:action="new" class="btn btn-primary btn-sm" th:href="@{census/new}"
+                         <a th:action="new" class="btn btn-primary btn-sm" th:href="@{/census/new}"
                             th:text="'New Census'"></a>
                          <a th:action="home" class="btn btn-success btn-sm"
                             th:href="@{/}" th:text="'Home'"></a>

+ 1 - 1
src/main/resources/templates/censusEntry/form.html

@@ -38,7 +38,7 @@ rounded-3 text-center p-4">
             </div>
 
             <div class="col-xs-4" style="margin-right:20px;">
-                <label for="census">Census</label>> Unsubscribe
+                <label for="census">Census</label>
                 <div>
                     <select id="census" style="width: 500px;" name="census" th:field="*{census}">
                         <option th:value="${''}" th:text="${''}"></option>