Commit 063b3140 authored by Nigel McNie's avatar Nigel McNie Committed by Nigel McNie
Browse files

Allow the submit button to have a value set.

parent 62356989
......@@ -31,7 +31,8 @@ defined('INTERNAL') || die();
*/
function form_render_submit($element, $form) {
return '<input type="submit"'
. Form::element_attributes($element) . '>';
. Form::element_attributes($element)
. ' value="' . hsc($form->get_value($element)) . '">';
}
?>
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