%label.span3.sty_display_inline(for="field_#{$field->name}" title="#{t($field->description)}")
  =t($field->label)
  -if($field->required)
    .sty_display_inline.color-red='*'

-if($field->editable)
  .input-prepend.input-append.time-picker
    %span.add-on
    !=$form->textField($model, $field->name, array('class'=>'span2',"id"=>"field_{$field->name}","data-format"=>Yii::app()->params['timeselect_format'][Yii::app()->language]['view']))
    %span.add-on
      .icon-time
-else      
  .input-prepend.input-append
    %span.add-on
    !=$form->textField($model, $field->name, array('class'=>'span2',"id"=>"field_{$field->name}","data-format"=>Yii::app()->params['timeselect_format'][Yii::app()->language]['view'], "readonly"=>"readonly"))
    %span.add-on