Use placeholder to save horizontal space
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
This commit is contained in:
parent
5fd35f82e0
commit
3d8a6c3bb4
@ -462,9 +462,9 @@ function PMA_getHtmlForForeignKeyRow($one_key, $odd_row, $columns, $i,
|
||||
$html_output .= '<span class="formelement clearfloat">';
|
||||
$constraint_name = isset($one_key['constraint'])
|
||||
? $one_key['constraint'] : '';
|
||||
$html_output .= __('Constraint name');
|
||||
$html_output .= '<input type="text" name="constraint_name[' . $i . ']"'
|
||||
. ' value="' . htmlspecialchars($constraint_name) . '"/>';
|
||||
. ' value="' . htmlspecialchars($constraint_name) . '"'
|
||||
. ' placeholder="' . __('Constraint name') . '" />';
|
||||
$html_output .= '</span>' . "\n";
|
||||
|
||||
$html_output .= '<span class="formelement clearfloat">';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user