Minor updates

This commit is contained in:
Deon George 2014-10-09 23:21:28 +11:00
parent fc5cea470a
commit 9302b51ebb
2 changed files with 3 additions and 4 deletions

View File

@ -65,7 +65,7 @@ abstract class lnApp_Block extends HTMLRender {
$output .= Form::close();
break;
case 'form-horizontal': $output .= Form::open(NULL,Arr::merge(array('class'=>'form-horizontal','role'=>'form','data-toggle'=>'validator'),(empty($record['id']) ? array() : array('id'=>$record['id']))));
case 'form-horizontal': $output .= Form::open(NULL,Arr::merge(array('class'=>'form-horizontal','role'=>'form','enctype'=>'multipart/form-data','data-toggle'=>'validator'),(empty($record['id']) ? array() : array('id'=>$record['id']))));
$output .= (string)$record['body'];
$output .= Form::close();
break;

View File

@ -85,18 +85,17 @@
</ul>
</div>
-->
<?php if (class_exists('Company') AND Company::instance()->name()) : ?>
<div class="grid-4">
<h3><span class="slash">//</span> Contact Us</h3>
<?php if (class_exists('Company')) : ?>
<address>
<strong><?php echo Company::instance()->name(); ?></strong><br/>
<i class="icon-map-marker"></i> <?php echo Company::instance()->address(); ?><br/>
<i class="icon-phone"></i> <?php echo Company::instance()->phone(); ?><br/>
<i class="icon-envelope"></i> <?php echo Company::instance()->email(); ?>
</address>
<?php endif ?>
</div> <!-- /grid-4 -->
<?php endif ?>
</div> <!-- /row -->
</div> <!-- /container -->