edit.php
<div class="detail1"> <?php echo form::label("birth_date", "date of birth"); ?> <?php echo form::input("birth_date", $userdetails->birth_date,array('disabled' => 'disabled','class'=>'input-form)); ?> </div>
the above code date input field,i trying reduce length of text box,if include css class inside label tag or input tag getting syntax error.i not able add css property field.how apply css class above field.
there no 'special way' add class whatever html kohana generates. kohana never checks whatever wish put html attribute. following works element.
<?php echo form::input("birth_date", $userdetails->birth_date, array( 'disabled' => 'disabled', 'class' => 'your class', )); ?>
and seriously. rtm. question should not ever have asked.