Add to toolbox.html
authorSteve Sutton <steve@gaslightmedia.com>
Tue, 19 Aug 2014 12:35:42 +0000 (08:35 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Tue, 19 Aug 2014 12:35:42 +0000 (08:35 -0400)
Add the id category and the class listing to the toolbox output markup.
This is so the toolbox content can be hidden after a form submit.

templates/toolbox.html

index c28266d..faa5349 100644 (file)
@@ -1,4 +1,4 @@
-<div id="toolbox"></div>
+<div id="toolbox">
 {if:toolboxContent.glmSearch}
 {toolboxContent.glmSearch:h}
 {end:}
@@ -10,7 +10,7 @@
 {else:}
 
     <!-- ######### Placeholder content ######### -->
-    <div class="row">
+    <div id="category" class="row">
         <div class="small-12 columns" flexy:if="toolboxContent.primaryParagraph[links]">
             {toolboxContent.primaryParagraph[links]:h}
         </div>
@@ -53,7 +53,7 @@
     {end:}
 
     {foreach:toolboxContent.secondaryParagraphs,section}
-    <div class="row" id="sect-{section[id]}">
+    <div class="listing row" id="sect-{section[id]}">
         {if:section[image]}
             {section[image]:h}
             <div class="small-12 medium-8 columns">
     </li>
   </ol>
 </div>
-{end:}
\ No newline at end of file
+{end:}
+
+</div>
\ No newline at end of file