Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
Team 5 - Smart Towns
Manage
Activity
Members
Labels
Plan
Issues
34
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Rhys Evans
Team 5 - Smart Towns
Commits
65fb5939
Commit
65fb5939
authored
1 year ago
by
Rhys Nute
Browse files
Options
Downloads
Patches
Plain Diff
controllers
parent
a13ba102
No related branches found
Branches containing commit
No related tags found
2 merge requests
!38
Draft: Businesses
,
!31
Resolve "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."
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/Team5/SmartTowns/Organisation/organisationControllers.java
+1
-1
1 addition, 1 deletion
...eam5/SmartTowns/Organisation/organisationControllers.java
with
1 addition
and
1 deletion
src/main/java/Team5/SmartTowns/Organisation/organisationControllers.java
+
1
−
1
View file @
65fb5939
...
...
@@ -35,7 +35,7 @@ public class organisationControllers {
@PostMapping
(
"/localForm"
)
public
ModelAndView
localAuthSent
(
@Valid
@ModelAttribute
(
"localAuthority"
)
localAuthority
localAuthority
,
BindingResult
bindingResult
,
Model
model
)
{
if
(
bindingResult
.
hasErrors
()){
ModelAndView
modelAndView
=
new
ModelAndView
(
"local
-auth-data
"
,
model
.
asMap
());
ModelAndView
modelAndView
=
new
ModelAndView
(
"local
Form
"
,
model
.
asMap
());
return
modelAndView
;
}
else
{
// converts user input using the organisation constructor into a submittable format to the sql table
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment