Merge pull-request #147 and #146 (autofocus for comment and description textarea)

This commit is contained in:
Frédéric Guillot
2014-07-14 20:16:26 -02:30
parent 0d7b0851bb
commit 1583427190
3 changed files with 3 additions and 3 deletions

View File

@@ -7,7 +7,7 @@
<?= Helper\form_csrf() ?>
<?= Helper\form_hidden('id', $values) ?>
<?= Helper\form_textarea('description', $values, $errors, array('required', 'placeholder="'.t('Leave a description').'"'), 'description-textarea') ?><br/>
<?= 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"><?= t('Write your text in Markdown') ?></a></div>
<div class="form-actions">