mytube-frontend/src/app/shared/components/form/form.component.html
Flo 42312cf409
Some checks failed
Node.js CI / build (20.x) (push) Has been cancelled
updates
2024-08-04 13:18:06 +00:00

22 lines
559 B
HTML

<div
*ngIf="caption !== null"
class="text-lg font-bold mb-3 text-black dark:text-white"
>
{{ caption }}
</div>
<div class="flex flex-col md:space-x-4">
<div id="form-body" class="flex-1 basis-full">
<ng-content />
</div>
<div class="flex flex-row">
<div class="flex-1"></div>
<button
(click)="submit.emit()"
class="flex-0 p-2 min-w-24 bg-green-700 hover:bg-green-800 dark:bg-green-800 dark:hover:bg-green-900 rounded-lg"
>
<p class="text-lg text-white text-md font-bold">Submit</p>
</button>
</div>
</div>