Bootylicious

 view release on metacpan or  search on metacpan

bootylicious  view on Meta::CPAN



@@ article-comment-form.html.ep
<div id="comment-form">
% if ($article->comments_enabled) {
    <h2>Add comment</h2>
    <div class="content">
        <div class="tip-required">
            Fields marked <span class="required">*</span> are required.<br />
            <div class="tip-required-bot">
            This form has a bot protection mechanism, that requires Cookies.<br />
            Please, don't disable them.
            </div>
        </div>
        %= form_for 'comment' => {year => $article->created->year, month => $article->created->month, alias => $article->name}, method => 'post' => begin
        <label for="author">Name <span class="required">*</span></label><br />
        <%= input_tag 'author', class => 'comment' %><br />
        <%= validator_error 'author' %>

        <label for="email">E-mail</label><br />
        <%= input_tag 'email', class => 'comment' %>



( run in 0.786 second using v1.01-cache-2.11-cpan-e9199f4ba4c )