Improve add feed form

This commit is contained in:
Frederic Guillot 2013-08-03 21:07:15 -04:00
parent 93678fa014
commit 450ae98ac1

View File

@ -8,8 +8,8 @@
</div> </div>
<form method="post" action="?action=add" autocomplete="off"> <form method="post" action="?action=add" autocomplete="off">
<label for="url"><?= t('Website or Feed URL') ?></label> <?= Helper\form_label(t('Website or Feed URL'), 'url') ?>
<input type="text" name="url" id="url" placeholder="<?= t('http://website/') ?>" autofocus required/> <?= Helper\form_text('url', $values, array(), array('required', 'autofocus', 'placeholder="'.t('http://website/').'"')) ?>
<div class="form-actions"> <div class="form-actions">
<button type="submit" class="btn btn-blue"><?= t('Add') ?></button> <button type="submit" class="btn btn-blue"><?= t('Add') ?></button>
</div> </div>