add new feedback process and form

Signed-off-by: Toshaan Bharvani <toshaan@vantosh.com>
remotes/1732662139196008604/master
Toshaan Bharvani 1 month ago
parent 0bfb82d5dd
commit e18cba82dd

@ -38,14 +38,17 @@
<div class="col-lg-3"></div> <div class="col-lg-3"></div>
<div class="col-lg-6 content"> <div class="col-lg-6 content">
<div><p>{{ .Content }}</p></div> <div><p>{{ .Content }}</p></div>
{{ if .Param "feedback"}} {{ if .Param "feedbackprocess"}}
{{ range $feedback := (.Param "feedback") }} {{ range $feedbackprocess := (.Param "feedbackprocess") }}
<a href="{{ $feedback.url }}"><div class="feedback btn btn-outline-primary"> <a href="{{ $feedbackprocess.url }}"><div class="feedback btn btn-outline-primary">
<h3>{{ $feedback.title }}</h3> <h3>{{ $feedbackprocess.title }}</h3>
{{ $feedback.description | markdownify }} {{ $feedbackprocess.description | markdownify }}
</div></a><br><br> </div></a><br><br>
{{ end }} {{ end }}
{{ end }} {{ end }}
{{ if .Param "feedback" }}
{{ partial "feedbackform.html" . }}
{{ end }}
</div> </div>
<div class="col-lg-3"> <div class="col-lg-3">
{{ if .Param "group" }} {{ if .Param "group" }}

Loading…
Cancel
Save