1
|
<?php
|
2
|
|
3
|
|
4
|
|
5
|
|
6
|
|
7
|
|
8
|
|
9
|
|
10
|
?>
|
11
|
<fieldset <?php print $attributes; ?>>
|
12
|
<?php if ($title): ?>
|
13
|
<?php if ($collapsible): ?>
|
14
|
<legend class="panel-heading">
|
15
|
<a href="#" class="panel-title fieldset-legend" data-toggle="collapse" data-target="<?php print $target; ?>"><?php print $title; ?></a>
|
16
|
</legend>
|
17
|
<?php else: ?>
|
18
|
<legend class="panel-heading">
|
19
|
<span class="panel-title fieldset-legend"><?php print $title; ?></span>
|
20
|
</legend>
|
21
|
<?php endif; ?>
|
22
|
<?php endif; ?>
|
23
|
<?php if ($collapsible): ?>
|
24
|
<div class="panel-collapse collapse fade<?php print (!$collapsed ? ' in' : ''); ?>">
|
25
|
<?php endif; ?>
|
26
|
<div class="panel-body">
|
27
|
<?php if ($description): ?><div class="help-block"><?php print $description; ?></div><?php endif; ?>
|
28
|
<?php print $content; ?>
|
29
|
</div>
|
30
|
<?php if ($collapsible): ?>
|
31
|
</div>
|
32
|
<?php endif; ?>
|
33
|
</fieldset>
|