Browse Source

Census Entry New Entry added
Fixes #48

Andrew Grant 6 months ago
parent
commit
3e1dcf3c4f

+ 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=dev
+spring.profiles.active=uat
 logging.level.scot.carricksoftware=trace
 
 

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

@@ -230,6 +230,7 @@ rounded-3 text-center p-4">
 
         <button type="submit" class="btn btn-primary">Commit</button>
         <a class="btn btn-secondary" th:href="@{/censusEntries}" th:text="${'List all'}">List all</a>
+        <a class="btn btn-warning" th:href="@{/censusEntry/new}" th:text="${'New Entry'}">New Entry</a>
         <a class="btn btn-success" th:href="@{/}" th:text="${'Home'}">Home</a>
         <h6><span style="color: rgb(255,0,0);">*</span><span> Cannot be edited</span></h6>
         <h6><span style="color: rgb(255,0,0);">+</span><span>Not further recorded</span></h6>