Renamed CSS class so that it was not so specific

This commit is contained in:
Mark Nelson 2013-04-09 15:52:24 +08:00
parent cd2564163a
commit f3709130d0
2 changed files with 3 additions and 3 deletions

View file

@ -233,7 +233,7 @@ class mod_customcert_edit_form extends moodleform {
// Add option to delete this page if it is not the first page.
if ($pagenum > 1) {
$mform->addElement('html', html_writer::start_tag('div', array('class' => 'deletecertpage')));
$mform->addElement('html', html_writer::start_tag('div', array('class' => 'deletebutton')));
$mform->addElement('submit', 'deletecertpage_' . $pageid, get_string('deletecertpage', 'customcert'));
$mform->addElement('html', html_writer::end_tag('div'));
}
@ -260,7 +260,7 @@ class mod_customcert_edit_form extends moodleform {
// Add this to the objects array.
$this->elementobjects[] = $e;
// Add submit button to delete this.
$mform->addElement('html', html_writer::start_tag('div', array('class' => 'deletecertpage')));
$mform->addElement('html', html_writer::start_tag('div', array('class' => 'deletebutton')));
$mform->addElement('submit', 'deleteelement_' . $element->id, get_string('deleteelement', 'customcert'));
$mform->addElement('html', html_writer::end_tag('div'));
}

View file

@ -1,3 +1,3 @@
#page-mod-customcert-edit .deletecertpage {
#page-mod-customcert-edit .deletebutton {
text-align:right;
}