staffmanager/resources/views/dashboard/administration/forms.blade.php
Miguel Nogueira 2df5bf144d Added save function to save button
This commit also improves how forms are parsed by PHP by passing them as arrays, therefore making them easier to process.
Note: One of the files contains a debug statement that will be removed in the next commit
2020-05-06 03:44:39 +01:00

51 lines
1.0 KiB
PHP

@extends('adminlte::page')
@section('title', 'Raspberry Network | Application Form Management Tool')
@section('content_header')
<h4>Administration / Form Builder</h4>
@stop
@section('content')
<div class="row">
<div class="col-md-5 offset-md-3">
<div class="card">
<div class="card-body">
<form id="formbuilder" action="{{route('saveForm')}}" method="POST">
@csrf
<fieldset id="buildyourform">
<legend>Form Builder</legend>
</fieldset>
</form>
<div class="mt-4">
<input type="button" value="New Field" class="add btn btn-success" id="add" />
</div>
</div>
<div class="card-footer text-center">
<button onclick="save()" type="button" class="btn btn-success">Save Form</button>
</div>
</div>
</div>
</div>
@stop