@extends('layouts.app')
@section('content')
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8">
<div class="card">
<div class="card-header">Compound Interest</div>
@include('partials.messages')
<div class="card-body">
<form action="" method="post">
@csrf
<div class="form-group">
<label>Monthly Sub</label>
<input type="number" name="sub" class="form-control" required value="{{old('sub')}}">
</div>
<div class="form-group">
<label>Yearly Interest Rate</label>
<input type="number" name="interest" class="form-control" required value="{{old('interest')}}">
</div>
<div class="form-group">
<label>Tenor (Months)</label>
<input type="number" name="months" class="form-control" required value="{{old('months')}}">
</div>
<input type="submit" class="btn btn-success">
</form>
</div>
</div>
</div>
</div>
</div>
@endsection
|