Commit 5fb9139f authored by Nigel McNie's avatar Nigel McNie Committed by Nigel McNie
Browse files

Standardised how plugin files are included.

parent ed97a31e
......@@ -32,8 +32,8 @@
* @return string The HTML for the element
function pieform_render_submitcancel($element, Pieform $form) {
$form->include_plugin('element', 'submit');
$form->include_plugin('element', 'cancel');
$submitelement = $element;
$submitelement['value'] = $element['value'][0];
$cancelelement = $element;
Markdown is supported
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