Example #1
0
<h3> Send message gust book </h3>

<?php 
if (!empty($notify['message'])) {
    ?>
    <div style="color: green"><?php 
    echo $notify['message'];
    ?>
 </div>
<?php 
}
?>
<form method="post" id="contact-form" style="margin-left: 10px">
    <input type="hidden" name="comment" value="1">
    <input type="hidden" name="csrf_token" value="<?php 
echo Protection::getCsrfToken();
?>
">
    <div class="control-group">
        <label class="control-label" for="name">Name</label>
        <div class="controls">
            <input name="name" type="text" id="name" placeholder="Your name" required value="<?php 
echo Html::escape(Request::post('name'));
?>
">
        </div>
    </div>

    <div class="control-group">
        <label class="control-label" for="email">Email</label>
        <div class="controls">