diff --git a/html/template/rmo/district-compliance-contact.html b/html/template/rmo/district-compliance-contact.html new file mode 100644 index 00000000..e0f2ff18 --- /dev/null +++ b/html/template/rmo/district-compliance-contact.html @@ -0,0 +1,168 @@ +{{ template "rmo/layout/base.html" . }} + +{{ define "title" }}Contact Information{{ end }} +{{ define "extraheader" }} + +{{ end }} +{{ define "content" }} +
+ +
+
+ {{ .District.Name }} logo +

{{ .District.Name }}

+
+
+ {{ .District.OfficePhone }} +
+
+ + +
+
+ Step 6 of 10 +
+
+
+
+
+ + +
+

Contact information

+ +
+

+ + Why share your contact information?
+ + Providing your contact information helps the District review your + response and coordinate with you if a visit is still needed. This + can save time and prevent unnecessary follow-up actions. + +

+
+ +
+ +
+ + +
+ + +
+ + +
+ + +
+
+ + +
+ + Text messages allow for faster communication and updates + +
+ + +
+ + +
+ We'll send you a confirmation and any updates about this request +
+
+ + + + +
+ + Back + + +
+
+
+
+{{ end }} diff --git a/html/template/rmo/district-compliance-permission.html b/html/template/rmo/district-compliance-permission.html index cf92ac11..a14362ba 100644 --- a/html/template/rmo/district-compliance-permission.html +++ b/html/template/rmo/district-compliance-permission.html @@ -308,12 +308,10 @@
- + Back - + Continue
diff --git a/rmo/compliance.go b/rmo/compliance.go index 84933a2e..57508b0f 100644 --- a/rmo/compliance.go +++ b/rmo/compliance.go @@ -54,6 +54,22 @@ func getDistrictComplianceConcern(w http.ResponseWriter, r *http.Request) { ) } +func getDistrictComplianceContact(w http.ResponseWriter, r *http.Request) { + district, err := districtBySlug(r) + if err != nil { + respondError(w, "Failed to lookup organization", err, http.StatusBadRequest) + return + } + html.RenderOrError( + w, + "rmo/district-compliance-contact.html", + ContentNuisance{ + District: newContentDistrict(district), + URL: makeContentURL(nil), + }, + ) +} + func getDistrictComplianceEvidence(w http.ResponseWriter, r *http.Request) { district, err := districtBySlug(r) if err != nil { diff --git a/rmo/routes.go b/rmo/routes.go index 8eef5fac..655e1989 100644 --- a/rmo/routes.go +++ b/rmo/routes.go @@ -19,6 +19,7 @@ func Router(r *mux.Router) { r.HandleFunc("/district/{slug}/compliance", getDistrictCompliance).Methods("GET") r.HandleFunc("/district/{slug}/compliance/address", getDistrictComplianceAddress).Methods("GET") r.HandleFunc("/district/{slug}/compliance/concern", getDistrictComplianceConcern).Methods("GET") + r.HandleFunc("/district/{slug}/compliance/contact", getDistrictComplianceContact).Methods("GET") r.HandleFunc("/district/{slug}/compliance/evidence", getDistrictComplianceEvidence).Methods("GET") r.HandleFunc("/district/{slug}/compliance/permission", getDistrictCompliancePermission).Methods("GET") r.HandleFunc("/district/{slug}/nuisance", getNuisanceDistrict).Methods("GET")