Commit aa0c1186 authored by nepski's avatar nepski

feedbackform route + start chaging php

parent d7dba444
/tmp
app/config.php
.idea/
\ No newline at end of file
......@@ -8,5 +8,8 @@ class Main extends Controller {
$f3->set('block_content','home.html');
}
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"]; ?>">
<p>
<textarea style="font-face: Arial, Helvetica, sans-serif; font-size: 12px; width: 600px; height: 300px" id="feedback" name="feedback"></textarea>
</p>
<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"]; ?>'"/>
</form>
\ No newline at end of file
Markdown is supported
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