@extends('layout')

@section('title', 'Volume Limas Segitiga')

@section('content')
    <div class="containet text-center">
        <br>
        <br>
        <div class="row text-center">
            <div class="col-md-6 offset-3">
                <h1 class="text-black-50 text-center">Volume limas segitiga</h1>
            </div>
        </div>
        <br>
        <form action="/vLimasS3C" class="form-horizontal" method="POST">
        {{ csrf_field() }}
            <div class="row text-center">
                <div class="col-md-2 offset-2">
                    <h5 class="text-black-50 text-center">Alas Segitiga</h3>
                    <input type="number" class="form-control" name="alass3" placeholder="Masukkan alas segitiga" required>
                </div>
                <div class="col-md-2">
                    <h5 class="text-black-50 text-center">Tinggi Segitiga</h3>
                    <input type="number" class="form-control" name="tinggis3" placeholder="Masukkan tinggi segiutiga" required>
                </div>
                <div class="col-md-2">
                    <h5 class="text-black-50 text-center">Tinggi Limas</h3>
                    <input type="number" class="form-control" name="tinggilm" placeholder="Masukkan tinggi limas" required>
                </div>
                <div class="col-md-2">
                    <br>
                    <button class="btn btn-primary" type="submit">Hitung</button>
                </div>
            </div>
        </form>
        <br>
        <br>
        <div class="row text-center">
            <div class="col md-2"></div>
            <div class="col md-6">
                @if(session('info'))
                    <div class="alert alert-info">
                        {{ session('info') }}
                    </div>
                @endif
            </div>
            <div class="col md-2"></div>
        </div>
    </div>
@endsection
