Page 1 of 1

My form is not theming

Posted: 06 Apr 2019, 09:58
by Nargzul
Hi,

I just installed the babylon for my angular app.

I got the global template, removed the "demo" component. But now I'm trying to create my first page, based on what I can find in the forms example:

Code: Select all

<div class="p-grid ui-fluid">
    <div class="p-col-12 p-lg-4">
        <div class="card card-w-title">
            <h1>Login</h1>
            <div class="p-grid form-group">
                <div class="p-col-12 p-md-12">
                    <input type="text" pInputText placeholder="Email" required autofocus>
                </div>
                <div class="p-col-12 p-md-12">
                    <input pPassword type="password" placeholder="Password" required />
                </div>
                <div class="p-col-12 p-md-4" style="text-align:center">
                    <button pButton type="button" label="Primary" style="margin-bottom:10px" class="ui-button-raised"></button>
                </div>
            </div>
        </div>
    </div>
</div>
But I end with no theming of the forms elements:
Image.

What could I have missed?

Re: My form is not theming

Posted: 26 Jul 2019, 21:17
by avulanitin
Did you import ButtonModule into your module/ application?