Browse Source

fix prerequesites lp

Alex Aragon 7 years ago
parent
commit
a44d22eee8
2 changed files with 8 additions and 3 deletions
  1. 3 0
      app/Resources/public/css/base.css
  2. 5 3
      main/lp/lp_edit.php

+ 3 - 0
app/Resources/public/css/base.css

@@ -6202,6 +6202,9 @@ a.panel-image{
     width: 100%;
     padding-top: 15px;
 }
+#resource_tab #subtab #ul_subtab li a{
+    padding: 10px 15px;
+}
 /* CSS NEW TOP ******************************************************************************/
 /* CSS Responsive */
 @media (min-width: 1025px) and (max-width: 1200px) {

+ 5 - 3
main/lp/lp_edit.php

@@ -144,10 +144,12 @@ $publicated_on = $_SESSION['oLP']->publicated_on;
 $form->addElement('html', '<div class="form-group">');
 $items = $_SESSION['oLP']->display_lp_prerequisites_list();
 $form->addElement('html', '<label class="col-md-2">'.get_lang('LearnpathPrerequisites').'</label>');
-$form->addElement('html', '<div class="col-md-10">');
+$form->addElement('html', '<div class="col-md-8">');
 $form->addElement('html', $items);
-$form->addElement('html', '<div class="help-block">'.get_lang('LpPrerequisiteDescription').'</div></div></div>');
-
+$form->addElement('html', '<div class="help-block">'.get_lang('LpPrerequisiteDescription').'</div>');
+$form->addElement('html', '</div>');
+$form->addElement('html', '<div class="col-md-2"></div>');
+$form->addElement('html', '</div>');
 //Start date
 $form->addElement(
     'checkbox',