Using the right tags in the HTML code.
authorGustavo Martin Morcuende <gu.martinm@gmail.com>
Tue, 15 May 2012 14:17:35 +0000 (16:17 +0200)
committerGustavo Martin Morcuende <gu.martinm@gmail.com>
Tue, 15 May 2012 14:17:35 +0000 (16:17 +0200)
In custom office form, edit and new html office pages.

apps/companyfront/modules/office/templates/_formCustomOffice.php
apps/companyfront/modules/office/templates/editSuccess.php
apps/companyfront/modules/office/templates/newSuccess.php

index 8d1b4b6..989caba 100644 (file)
@@ -14,7 +14,7 @@
           <?php if (!$form->getObject()->isNew()): ?>
             &nbsp;<?php echo link_to('Delete', 'office/delete?id='.$form->getObject()->getId(), array('method' => 'delete', 'confirm' => 'Are you sure?')) ?>
           <?php endif; ?>
-          <input type="submit" value="Save" />
+          <input type="submit" value=<?php echo __('Save') ?> />
         </td>
       </tr>
     </tfoot>
index 3ebc182..5a0da86 100644 (file)
@@ -1,3 +1,3 @@
-<h1><?php echo __('Edit Office') ?></h1>
+<h2><?php echo __('Edit Office') ?></h2>
 
 <?php include_partial('formCustomOffice', array('form' => $form)) ?>
index ceb3620..5b24bdf 100644 (file)
@@ -1,3 +1,3 @@
-<h1>New Office</h1>
+<h2><?php echo __('New Office') ?></h2>
 
 <?php include_partial('formCustomOffice', array('form' => $form)) ?>