Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using form_open inside a block crashes everything #7

Open
Hubro opened this issue Dec 28, 2011 · 0 comments
Open

Using form_open inside a block crashes everything #7

Hubro opened this issue Dec 28, 2011 · 0 comments

Comments

@Hubro
Copy link

Hubro commented Dec 28, 2011

This is my code. If I remove form_open, the code works.

<? require 'application/views/templates/base.php' ?>

<? startblock('body') ?>

    <?= form_open('auth/login/confirm') ?>
        <table>
            <caption>Login</caption>
            <thead>
                <tr>
                    <th><?= form_label('username', 'Username') ?></th>
                    <th><?= form_label('password', 'Password') ?></th>
                </tr>
            </thead>
            <tbody>
                <tr>
                    <td><?= form_input('username') ?></td>
                    <td><?= form_input('password') ?></td>
                </tr>
            </tbody>
        </table>
    <?= form_close() ?>

<? endblock() ?>

Here's the error message

Error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant