pattern-lab / starterkit-mustache-bootstrap

A Bootstrap starter kit for Pattern Lab
MIT License
23 stars 23 forks source link

Add Panel Header and Footer to working panel #4

Closed bradfrost closed 8 years ago

bradfrost commented 8 years ago

Panels can optionally have a heading. Need to add dynamic heading that will show up if a panel heading is defined.

bradfrost commented 8 years ago
<div class="panel {{ panelClass }}">
  {{# panelHeading }}
    <div class="panel-heading"><h3>{{ panelHeading }}</h3></div>
  {{/ panelHeading }}
  body 
  optional footer
</div>
frostyweather commented 8 years ago

This pattern is now dynamic after adding {{# panelHeading }} and {{# panelFooter }}. Close #4