Przeglądaj źródła

Follow up of 3814 (#3910)

* fixed the whitespace in value of username input
* fixed a HTML structure fault
maTh 4 lat temu
rodzic
commit
76f722f5fe
1 zmienionych plików z 3 dodań i 2 usunięć
  1. 3 2
      app/views/helpers/feed/update.phtml

+ 3 - 2
app/views/helpers/feed/update.phtml

@@ -133,10 +133,11 @@
 			<label class="group-name" for="http_user_feed<?= $this->feed->id() ?>"><?= _t('sub.feed.auth.username') ?></label>
 			<div class="group-controls">
 				<input type="text" name="http_user_feed<?= $this->feed->id() ?>" id="http_user_feed<?= $this->feed->id() ?>" class="extend" value="<?=
-					empty($auth['username']) ? ' ' : $auth['username'] ?>" autocomplete="off" />
+					empty($auth['username']) ? '' : $auth['username'] ?>" autocomplete="off" />
 				<p class="help"><?= _i('help') ?> <?= _t('sub.feed.auth.help') ?></p>
 			</div>
-
+		</div>
+		<div class="form-group">
 			<label class="group-name" for="http_pass_feed<?= $this->feed->id() ?>"><?= _t('sub.feed.auth.password') ?></label>
 			<div class="group-controls">
 				<div class="stick">