function_formlabel

Created by: hiran, Last modification: 16 Jan 2007 (17:32 UTC)

Parameters

labelThe label text visible to users
forThe id of the input element this label refers to


Sample


<?php
<div class="row">
    {
formlabel label="Title" for="title"}
    {
forminput}
        <
input type="text" size="60" maxlength="200" name="sample[title]" id="title" value="{$gContent->mInfo.title|escape}/>
    {/
forminput}
</
div>
?>

See also