Skip to content

Commit cffd7bd

Browse files
authored
Merge pull request #362 from rottaran/ticket_326_inline_ajax
add div and span fields around inline form to help the autocompletion
2 parents 47ce225 + 7c4f397 commit cffd7bd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

action/inline.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,15 +87,19 @@ protected function inline_editor() {
8787
// output the editor
8888
$value = $this->schemadata->getDataColumn($this->column);
8989
$id = uniqid('struct__', false);
90+
echo '<div class="field">';
9091
echo '<label data-column="' . hsc($this->column->getFullQualifiedLabel()) . '" for="' . $id . '">';
9192
echo '</label>';
93+
echo '<span class="input">';
9294
echo $value->getValueEditor('entry', $id);
95+
echo '</span>';
9396
$hint = $this->column->getType()->getTranslatedHint();
9497
if($hint) {
9598
echo '<p class="hint">';
9699
echo hsc($hint);
97100
echo '</p>';
98101
}
102+
echo '</div>';
99103

100104
// csrf protection
101105
formSecurityToken();

0 commit comments

Comments
 (0)