Skip to content
Snippets Groups Projects
Commit 9a7507d5 authored by Rhys Nute's avatar Rhys Nute
Browse files

updates

parent 9bb8a0a6
No related branches found
No related tags found
2 merge requests!38Draft: Businesses,!31Resolve "As a user, I want to see a page of local authorities so that I can easily source contact details for a variety of different local authorities."
......@@ -23,6 +23,7 @@ public class organisationControllers {
@GetMapping("/businesses")
public ModelAndView getBusinessPage(){
ModelAndView modelAndView = new ModelAndView("businesses");
modelAndView.addObject("busiSub", business);
return modelAndView;
}
@GetMapping("/businessSub")
......
......@@ -13,7 +13,7 @@
<h3>Compete with Online Retailers</h3>
<h3>Drive Footfall to the high street</h3>
<h3>Increase Sales</h3>
<ul th:each="business:${businesses}">
<ul th:each="business:${busiSub}">
<li th:text="${business}"></li>
</ul>
<button><a href="/businessSub" id="business">Businesses please enter here</a></button>
......
......@@ -15,7 +15,7 @@
<ul>
<option value="localauthorities">Local Authorities</option>
<option value="towns">Towns</option>
<option value="businesses">Businesses</option>
<option value="businesses"><a href="/businesses">Businesses</a></option>
<option value="consumers">Consumers</option>
</ul>
</select>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment