Skip to content

Commit

Permalink
tidying up form view tmpls, if no form error message given revert to …
Browse files Browse the repository at this point in the history
…standard Jtext validation failed msg
  • Loading branch information
pollen8 committed Oct 12, 2011
1 parent 097e5f5 commit c5f255c
Show file tree
Hide file tree
Showing 4 changed files with 323 additions and 46 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -259,11 +259,6 @@
background: #EFE7B8;
}
/** for checkboxes etc with multiple columns, the error was too squashed */
#form_$c .fabrikError .fabrikSubElementContainer{
margin-top: 20px;
}
#form_$c .fabrikErrorMessage{
padding-right: 5px;
}
Expand Down
13 changes: 5 additions & 8 deletions components/com_fabrik/views/form/tmpl/mint/default_group.php
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
<ul>
<?php foreach ( $this->elements as $element) {
<?php foreach ($this->elements as $element) {
?>
<li <?php echo @$element->column;?> class="<?php echo $element->containerClass;?>">
<?php echo $element->label;?>
<?php echo $element->errorTag; ?>
<div class="leftCol">
<?php echo $element->label;?>
<?php echo $element->errorTag; ?>
</div>
<div class="fabrikElement">
<?php echo $element->element;?>

</div>
<div class="fabrikErrorMessage">
<?php echo $element->error;?>
</div>
<div style="clear:both"></div>
</li>
<?php }?>
</ul>
Loading

0 comments on commit c5f255c

Please sign in to comment.