Moved the common Monitors add and edit nav code to an element.
This commit is contained in:
parent
3957b709bb
commit
f3c235544d
|
@ -0,0 +1,8 @@
|
|||
<ul class="nav nav-tabs">
|
||||
<li><a data-toggle="tab" href="#general">General</a></li>
|
||||
<li><a data-toggle="tab" href="#source">Source</a></li>
|
||||
<li><a data-toggle="tab" href="#timestamp">Timestamp</a></li>
|
||||
<li><a data-toggle="tab" href="#buffers">Buffers</a></li>
|
||||
<li><a data-toggle="tab" href="#control">Control</a></li>
|
||||
<li><a data-toggle="tab" href="#misc">Misc</a></li>
|
||||
</ul>
|
|
@ -1,11 +1,4 @@
|
|||
<ul class="nav nav-tabs">
|
||||
<li><a data-toggle="tab" href="#general">General</a></li>
|
||||
<li><a data-toggle="tab" href="#source">Source</a></li>
|
||||
<li><a data-toggle="tab" href="#timestamp">Timestamp</a></li>
|
||||
<li><a data-toggle="tab" href="#buffers">Buffers</a></li>
|
||||
<li><a data-toggle="tab" href="#control">Control</a></li>
|
||||
<li><a data-toggle="tab" href="#misc">Misc</a></li>
|
||||
</ul>
|
||||
<?php echo $this->element('tabs-nav'); ?>
|
||||
|
||||
<?php echo $this->Form->create('Monitor', array( 'inputDefaults' => array( 'legend' => false, 'fieldset' => false))); ?>
|
||||
<?php echo $this->Form->input('Id', array('type' => 'hidden')); ?>
|
||||
|
|
|
@ -1,11 +1,4 @@
|
|||
<ul class="nav nav-tabs">
|
||||
<li><a data-toggle="tab" href="#general">General</a></li>
|
||||
<li><a data-toggle="tab" href="#source">Source</a></li>
|
||||
<li><a data-toggle="tab" href="#timestamp">Timestamp</a></li>
|
||||
<li><a data-toggle="tab" href="#buffers">Buffers</a></li>
|
||||
<li><a data-toggle="tab" href="#control">Control</a></li>
|
||||
<li><a data-toggle="tab" href="#misc">Misc</a></li>
|
||||
</ul>
|
||||
<?php echo $this->element('tabs-nav'); ?>
|
||||
|
||||
<?php echo $this->Form->create('Monitor', array( 'inputDefaults' => array( 'legend' => false, 'fieldset' => false))); ?>
|
||||
<?php echo $this->Form->input('Id', array('type' => 'hidden')); ?>
|
||||
|
|
Loading…
Reference in New Issue