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

@@ -6,7 +6,7 @@
<?= Helper\form_csrf() ?>
<?= Helper\form_hidden('id', $values) ?>
<?= Helper\form_textarea('comment', $values, $errors, array('required', 'placeholder="'.t('Leave a comment').'"'), 'comment-textarea') ?><br/>
<?= Helper\form_textarea('comment', $values, $errors, array('autofocus', 'required', 'placeholder="'.t('Leave a comment').'"'), 'comment-textarea') ?><br/>
<div class="form-actions">
<input type="submit" value="<?= t('Update') ?>" class="btn btn-blue"/>