add new feedback process and form

Signed-off-by: Toshaan Bharvani <toshaan@vantosh.com>
remotes/1731466969795882114/master
Toshaan Bharvani 2 weeks ago
parent 0bfb82d5dd
commit e18cba82dd

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

Loading…
Cancel
Save