<input type="hidden" name="sf_method" value="put" />
<?php endif; ?>
<table>
- <tfoot>
- <tr>
- <td colspan="2">
- <?php echo $form->renderHiddenFields(false) ?>
- <a href="<?php echo url_for('office/index?page='.$page.'&sort='.$sort) ?>"><?php echo __('Back to list') ?></a>
- <input type="submit" value=<?php echo __('Save') ?> />
- </td>
- </tr>
- </tfoot>
<tbody>
<?php echo $form ?>
</tbody>
</table>
+ <?php echo $form->renderHiddenFields(false) ?>
+ <table align="right">
+ <tbody>
+ <tr>
+ <td>
+ <a href="<?php echo url_for('office/index?page='.$page.'&sort='.$sort) ?>" class="bt_red"><strong><?php echo __('Back to list') ?></strong></a>
+ </td>
+ <td>
+ <input type="submit" value="<?php echo __('Save') ?>" class="NFButton">
+ </td>
+ </tr>
+ </tbody>
+ </table>
</form>
$this->validatorSchema['ad_id'] = new sfValidatorDoctrineChoice(array('model' => $this->getRelatedModelName('Ad'),
'multiple' => true,
'query' => $query));
+ $this->widgetSchema->setLabel('ad_id', false);
$this->widgetSchema->getFormFormatter()->setTranslationCatalogue('office_ads_form');
}
background-color:#f3fcfe;
border-left-width:2px;
}
+.double_list_select-selected{
+width:200px;
+height:200px;
+float:left;
+border: 1px solid #95E0EF;
+background-color:#f3fcfe;
+border-left-width:2px;
+}
+.double_list_select{
+width:200px;
+height:200px;
+float:left;
+border: 1px solid #95E0EF;
+background-color:#f3fcfe;
+border-left-width:2px;
+}
+.double_list_label{
+color:#666666;
+padding:2px 5px 2px 5px;
+}