Akelos Framework v1 forum archive. This forum is no longer maintained. To report bugs please visit https://github.com/akelos/akelos/issues
    • CommentAuthorsuthern
     

    If you create a table with a field called "Description" in it, it defaults to a large text input area.

    This is fine in most of the models, but in my 'parts_vendors' model, the description will always be short. Is there a way to call input('parts_vendors', 'description') so that the field is like the 'note' field? I've looked through acive_record_helper.php, but can't make sense of it.

    Thanks! -Suthern

    • CommentAuthorKaste
     

    it's the form_helper:

    <?= $form_helper->text_area("person", "description", array("rows" => 10)) ?>
    
    <?= $form_helper->text_field("person", "description", array("size" => 20)) ?>
    
    • CommentAuthorsuthern
     

    That did the trick! Thanks!