Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?php endwhile; // field loop ?>
<?php // we are going to add our new submit button code here
</fieldset>
<?php endwhile; // group loop ?>
<?php // this fieldset is the one we are going to remove
<fieldset class="field-group field-group-submit">
<legend><?php $this->print_save_changes_label() ?></legend>
<div class="form-group">
<button type="submit" class="btn btn-default" ><?php echo $this->shortcode_atts['submit_button'] ?></button>
</div>
</fieldset>
<?php $this->print_form_close() ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment