echo $task['id']; ?> &ajax=<?php echo $ajax; ?> " autocomplete="off"> <?php echo Helper\form_csrf(); ?> <?php echo Helper\form_hidden('id', $values); ?> <?php echo Helper\form_textarea('description', $values, $errors, array('autofocus', 'required', 'placeholder="' . t('Leave a description') . '"'), 'description-textarea'); ?> <br/> <div class="form-help"><a href="http://kanboard.net/documentation/syntax-guide" target="_blank" rel="noreferrer"><?php echo t('Write your text in Markdown'); ?> </a></div> <div class="form-actions"> <input type="submit" value="<?php echo t('Save'); ?> " class="btn btn-blue"/> <?php echo t('or'); ?>
<li class="form-tab form-tab-selected"> <i class="fa fa-pencil-square-o fa-fw"></i><a id="markdown-write" href="#"><?php echo t('Write'); ?> </a> </li> <li class="form-tab"> <a id="markdown-preview" href="#"><i class="fa fa-eye fa-fw"></i><?php echo t('Preview'); ?> </a> </li> </ul> <div class="write-area"> <?php echo Helper\form_textarea('description', $values, $errors, array('placeholder="' . t('Leave a description') . '"')); ?> </div> <div class="preview-area"> <div class="markdown"></div> </div> </div> <div class="form-help"><a href="http://kanboard.net/documentation/syntax-guide" target="_blank" rel="noreferrer"><?php echo t('Write your text in Markdown'); ?> </a></div> <?php if (!isset($duplicate)) { ?>
<div class="form-column"> <?php echo Helper\form_label(t('Title'), 'title'); ?> <?php echo Helper\form_text('title', $values, $errors, array('required')); ?> <br/> <?php echo Helper\form_label(t('Description'), 'description'); ?> <?php echo Helper\form_textarea('description', $values, $errors); ?> <br/> <div class="form-help"><a href="http://kanboard.net/documentation/syntax-guide" target="_blank" rel="noreferrer"><?php echo t('Write your text in Markdown'); ?> </a></div> </div> <div class="form-column"> <?php echo Helper\form_hidden('id', $values); ?> <?php echo Helper\form_hidden('project_id', $values);
<form method="post" action="?controller=comment&action=save&task_id=<?php echo $task['id']; ?> " autocomplete="off"> <?php echo Helper\form_csrf(); ?> <?php echo Helper\form_hidden('task_id', $values); ?> <?php echo Helper\form_hidden('user_id', $values); ?> <?php echo Helper\form_textarea('comment', $values, $errors, array('autofocus', 'required', 'placeholder="' . t('Leave a comment') . '"'), 'comment-textarea'); ?> <br/> <div class="form-help"><a href="http://kanboard.net/documentation/syntax-guide" target="_blank" rel="noreferrer"><?php echo t('Write your text in Markdown'); ?> </a></div> <div class="form-actions"> <input type="submit" value="<?php echo t('Save'); ?> " class="btn btn-blue"/> <?php echo t('or'); ?>
<?php if (!isset($hide_comment_form) || $hide_comment_form === false) { ?> <form method="post" action="?controller=comment&action=save&task_id=<?php echo $task['id']; ?> " autocomplete="off"> <?php echo Helper\form_hidden('task_id', $comment_form['values']); ?> <?php echo Helper\form_hidden('user_id', $comment_form['values']); ?> <?php echo Helper\form_textarea('comment', $comment_form['values'], $comment_form['errors'], array('required', 'placeholder="' . t('Leave a comment') . '"'), 'comment-textarea'); ?> <br/> <div class="form-help"><a href="http://kanboard.net/documentation/syntax-guide" target="_blank" rel="noreferrer"><?php echo t('Write your text in Markdown'); ?> </a></div> <div class="form-actions"> <input type="submit" value="<?php echo t('Post comment'); ?> " class="btn btn-blue"/> </div> </form> <?php
<li class="form-tab form-tab-selected"> <i class="fa fa-pencil-square-o fa-fw"></i><a id="markdown-write" href="#"><?php echo t('Write'); ?> </a> </li> <li class="form-tab"> <a id="markdown-preview" href="#"><i class="fa fa-eye fa-fw"></i><?php echo t('Preview'); ?> </a> </li> </ul> <div class="write-area"> <?php echo Helper\form_textarea('comment', $values, $errors, array(!isset($skip_cancel) ? 'autofocus' : '', 'required', 'placeholder="' . t('Leave a comment') . '"'), 'comment-textarea'); ?> </div> <div class="preview-area"> <div class="markdown"></div> </div> </div> <div class="form-help"><a href="http://kanboard.net/documentation/syntax-guide" target="_blank" rel="noreferrer"><?php echo t('Write your text in Markdown'); ?> </a></div> <div class="form-actions"> <input type="submit" value="<?php echo t('Save');