%label.span3.sty_display_inline(for="field_#{$field->name}" title="#{t($field->description)}")
  =t($field->label)
  -if($field->required)
    .sty_display_inline.color-red='*'
.input-prepend.input-append
  %span.add-on
  -if($field->editable)
    !=$form->textField($model, $field->name, array('class'=>'date-picker span2',"id"=>"field_{$field->name}"))
    .add-on.icon-calendar
  -else
    !=$form->textField($model, $field->name, array('class'=>'span2',"id"=>"field_{$field->name}", "readonly"=>"readonly"))
    .add-on
      