Commit aa0c1186 authored by nepski's avatar nepski
Browse files

feedbackform route + start chaging php

parent d7dba444
\ No newline at end of file
......@@ -8,5 +8,8 @@ class Main extends Controller {
function feedbackform($f3, $args) {
$f3->set('block_content', 'feedbackform.html');
<h2>{{ _("Feedback Form") }}</h2>
<?php show_messages(); ?>
<p>{{ _("Please tell us what happened if you was able to talk to someone. Your feedback is important to us.") }}</p>
<form method="post" action="/campaign/feedbackdo/<?php echo $view["campaign"]["slug"]; ?>/<?php echo $view["callid"]; ?>">
<textarea style="font-face: Arial, Helvetica, sans-serif; font-size: 12px; width: 600px; height: 300px" id="feedback" name="feedback"></textarea>
<input type="submit" name="go" value="{{ _("Send my feedback") }}" />
<input type="button" name="cancel" value="{{ _("Cancel") }}" onclick="document.location='/campaign/go/<?php echo $view["campaign"]["slug"]; ?>'"/>
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment