<?php defined('C5_EXECUTE') or die("Access Denied."); ?>
<? $ih = Loader::helper('concrete/interface'); ?>

	<?=Loader::helper('concrete/dashboard')->getDashboardPaneHeaderWrapper(t('Add Set'), false, false, false)?>
	<div class="ccm-pane-body">
	<form method="post" id="file-sets-add" action="<?=$this->url('/dashboard/files/add_set', 'do_add')?>">
		<?=$validation_token->output('file_sets_add');?>

		<div class="clearfix">
			<?=Loader::helper("form")->label('file_set_name', t('Name'))?>
			<div class="input">
				<?=$form->text('file_set_name','', array('class' => 'span6'))?>
			</div>
		</div>
	</form>
	</div>
	<div class="ccm-pane-footer">
			<?=Loader::helper("form")->submit('add', t('Add File Set'), array('class' => 'primary'))?>
	</div>
	<?=Loader::helper('concrete/dashboard')->getDashboardPaneFooterWrapper(false);?>
<?php defined('C5_EXECUTE') or die("Access Denied."); ?>
<? $ih = Loader::helper('concrete/interface'); ?>

	<?=Loader::helper('concrete/dashboard')->getDashboardPaneHeaderWrapper(t('Add Set'), false, false, false)?>
    <form method="post" id="file-sets-add" action="<?=$this->url('/dashboard/files/add_set', 'do_add')?>">
	<div class="ccm-pane-body">
    	
		<?=$validation_token->output('file_sets_add');?>

		<div class="clearfix">
			<?=Loader::helper("form")->label('file_set_name', t('Name'))?>
			<div class="input">
				<?=$form->text('file_set_name','', array('class' => 'span6'))?>
			</div>
		</div>
	</div>
	<div class="ccm-pane-footer">
			<?=Loader::helper("form")->submit('add', t('Add File Set'), array('class' => 'primary'))?>
	</div>
    </form>
	<?=Loader::helper('concrete/dashboard')->getDashboardPaneFooterWrapper(false);?>
Fix for broken 'add file set' button
Fix for broken 'add file set' button

Just changed the nesting so that the form includes the pane-footer and the 'submit' button/input.


Former-commit-id: 665cf13c7ffc7c6bc88eee66f431ac1e001cf986