<moya xmlns="http://moyaproject.com"
      xmlns:let="http://moyaproject.com/let"
      xmlns:db="http://moyaproject.com/db"
      xmlns:forms="http://moyaproject.com/forms"
      xmlns:auth="http://moyaproject.com/auth"
      xmlns:w="http://moyaproject.com/widgets"
      xmlns:html="http://moyaproject.com/html">

    <mountpoint name="tests" libname="mountpoint.main">
        <url route="/tests/" view="#view.tests" />
    </mountpoint>

    <view libname="view.tests" content="#content.tests">

    </view>

    <content libname="content.tests">
        <title>Tests</title>
        <section name="body">

            <w:tab-panel id="testtabs" active="tab1">
                <w:tab id="tab1" title="Tab One">
                    <markdown>This is in Tab 1</markdown>
                </w:tab>
                <w:tab id="tab2" title="Tab number Two">
                    <markdown>Hello World</markdown>
                </w:tab>
            </w:tab-panel>

            <w:success>This is a success message</w:success>
            <w:danger>This is a danger message</w:danger>
            <w:info>This is an info message</w:info>
            <w:warning>This is a warning message</w:warning>
            <w:error>An error</w:error>

            <w:info>
                <bbcode>[b]note[/b] May contain other content</bbcode>
            </w:info>

            <w:link app="moya.auth" name="login">Login</w:link>

            <w:success>
                <markdown>Success Message</markdown>
                <w:buttons>
                    <w:link app="moya.auth" name="login">Button1</w:link>
                    <w:link app="moya.auth" name="login">Button2</w:link>
                </w:buttons>
            </w:success>

            <w:dialog>
                <markdown>A dialog</markdown>
                <w:dialog-buttons>
                    <w:link app="moya.auth" name="login">Button1</w:link>
                    <w:link app="moya.auth" name="login">Button2</w:link>
                </w:dialog-buttons>
            </w:dialog>

        </section>
    </content>

</moya>