#1138092 by DamienMcKenna: Add a bunch of additional css classes to exposed forms
authorDaniel Wehner
Wed, 8 Jun 2011 21:53:30 +0000 (23:53 +0200)
committerDaniel Wehner
Wed, 8 Jun 2011 21:53:30 +0000 (23:53 +0200)
theme/views-exposed-form.tpl.php

index da8ba62..51f52a7 100644 (file)
@@ -23,8 +23,8 @@
 <?php endif; ?>
 <div class="views-exposed-form">
   <div class="views-exposed-widgets clear-block">
-    <?php foreach($widgets as $id => $widget): ?>
-      <div class="views-exposed-widget views-widget-<?php print $id ?>">
+    <?php foreach ($widgets as $id => $widget): ?>
+      <div class="views-exposed-widget views-widget-<?php print $id; ?>">
         <?php if (!empty($widget->label)): ?>
           <label for="<?php print $widget->id; ?>">
             <?php print $widget->label; ?>
@@ -40,8 +40,8 @@
         </div>
       </div>
     <?php endforeach; ?>
-    <div class="views-exposed-widget">
-      <?php print $button ?>
+    <div class="views-exposed-widget views-submit-button">
+      <?php print $button; ?>
     </div>
   </div>
-</div>
\ No newline at end of file
+</div>