Commit cbdcefaa authored by Carsten  Rose's avatar Carsten Rose
Browse files

QuickFormQuery.php: Button save/ close/ delete/ new - align to right border of form.

parent 0d937ca2
......@@ -185,10 +185,13 @@ class BuildFormBootstrap extends AbstractBuildForm {
$buttonNew = $this->buildButtonAnchor('form-new-button', $url, $toolTip, GLYPH_ICON_NEW);
}
$html = Support::wrapTag('<div class="btn-group" role="group">', $buttonEditForm);
$html .= Support::wrapTag('<div class="btn-group" role="group">', $buttonSave . $buttonClose);
$html .= Support::wrapTag('<div class="btn-group" role="group">', $buttonDelete);
$html .= Support::wrapTag('<div class="btn-group" role="group">', $buttonNew);
// Arrangement: Edit Form / Save / Close / Delete / New
// Specified in reverse order cause 'pull-right' inverts the order.
$html = '';
$html .= Support::wrapTag('<div class="btn-group pull-right" role="group">', $buttonNew);
$html .= Support::wrapTag('<div class="btn-group pull-right" role="group">', $buttonDelete);
$html .= Support::wrapTag('<div class="btn-group pull-right" role="group">', $buttonSave . $buttonClose);
$html .= Support::wrapTag('<div class="btn-group pull-right" role="group">', $buttonEditForm);
$html = Support::wrapTag('<div class="btn-toolbar" role="toolbar">', $html);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment