From 0260bb798e218e5e602742d0870297eb80bdb970 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20M=C3=BCller?= Date: Sun, 16 Mar 2014 11:09:10 +0100 Subject: [PATCH] form correctur durch bootstrap update --- app/Controller/Component/MiconwareSessionComponent.php | 8 ++++---- app/View/Elements/user_worker_item.ctp | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/Controller/Component/MiconwareSessionComponent.php b/app/Controller/Component/MiconwareSessionComponent.php index dbfc06b..4e644bd 100755 --- a/app/Controller/Component/MiconwareSessionComponent.php +++ b/app/Controller/Component/MiconwareSessionComponent.php @@ -31,8 +31,8 @@ class MiconwareSessionComponent extends Component { $controller->set('default_hForm',array( 'inputDefaults' => array( 'div' => array('class' => 'form-group'), - 'label' => array('class' => 'col-lg-3 control-label'), - 'between' => '
', + 'label' => array('class' => 'col-sm-3 control-label'), + 'between' => '
', 'after' => '
', 'error' => array('attribute'=>array('wrap'=>'span','class'=>'help-block')), 'class' => 'form-control '), @@ -42,8 +42,8 @@ class MiconwareSessionComponent extends Component { $controller->set('default_Form',array( 'inputDefaults' => array( 'div' => array('class' => 'form-group'), - 'label' => array('class' => 'col-lg-3 control-label'), - 'between' => '
', + 'label' => array('class' => 'col-sm-3 control-label'), + 'between' => '
', 'after' => '
', 'error' => array('attribute'=>array('wrap'=>'span','class'=>'help-block')), 'class' => 'form-control ')) diff --git a/app/View/Elements/user_worker_item.ctp b/app/View/Elements/user_worker_item.ctp index 1bb61a7..8c1e546 100644 --- a/app/View/Elements/user_worker_item.ctp +++ b/app/View/Elements/user_worker_item.ctp @@ -68,8 +68,8 @@ }else{ $statusApp = __('dreamjob.application'); } - echo $this->Html->link(__($status),array('controller'=>'job', 'action'=>'applicationByOpening', 'id'=> $profil['DreamjobJobApplication']['opening_id'],'?'=>$archiv),array("class" => "btn btn-default")); - echo $this->Html->link($statusApp,array('controller'=>'job', 'action'=>'applicationGet', 'id'=> $profil['DreamjobJobApplication']['id']),array("class" => "btn btn-default")); + echo $this->Html->link(__($status),array('controller'=>'job', 'action'=>'applicationByOpening', 'id'=> $profil['DreamjobJobApplication']['opening_id'],'?'=>$archiv),array("class" => "btn btn-default",'escape' => true)); + echo $this->Html->link($statusApp,array('controller'=>'job', 'action'=>'applicationGet', 'id'=> $profil['DreamjobJobApplication']['id']),array("class" => "btn btn-default",'escape' => true)); } ?>