* Show placeholders.

This commit is contained in:
Guan Xiying
2021-06-21 16:17:37 +08:00
parent 45fd097728
commit ae96cd1161
3 changed files with 14 additions and 16 deletions

View File

@@ -21,20 +21,19 @@
<table class='table table-form'>
<tr>
<th><?php echo $lang->gitlab->name; ?></th>
<td class='required'><?php echo html::input('name', $gitlab->name, "class='form-control'"); ?></td>
<td class="tips-git"><?php echo $lang->gitlab->gitlabNameTips; ?></td>
<td class='required'><?php echo html::input('name', $gitlab->name, "class='form-control' placeholder='{$lang->gitlab->placeholder->name}'"); ?></td>
<td class="tips-git"></td>
</tr>
<tr>
<th><?php echo $lang->gitlab->url; ?></th>
<td class='required'><?php echo html::input('url', $gitlab->url, "class='form-control'"); ?></td>
<td class="tips-git"><?php echo $lang->gitlab->gitlabUrlTips; ?></td>
<td class='required'><?php echo html::input('url', $gitlab->url, "class='form-control' placeholder='{$lang->gitlab->placeholder->url}'"); ?></td>
</tr>
<tr>
<th><?php echo $lang->gitlab->token;?></th>
<td><?php echo html::input('token', $gitlab->token, "class='form-control'");?></td>
<td class="tips-git"><?php echo $lang->gitlab->gitlabTokenTips; ?></td>
<td><?php echo html::input('token', $gitlab->token, "class='form-control' placeholder='{$lang->gitlab->placeholder->token}'");?></td>
</tr>
<tr>
<tr>
<th></th>
<td class='text-center form-actions'>
<?php echo html::submitButton() . html::backButton(); ?>