How can I change this so that it still pulls in the text that was typed in for the submit button on the form setttings instead of being stuck with "Submit":
add_filter("gform_submit_button", "form_submit_button", 10, 2);
function form_submit_button($button, $form){
return "<button class='btn btn-warning btn-large' id='gform_submit_button_{$form["id"]}'><div class='center'>Submit</div></button>";
}