Miguel Nogueira
2df5bf144d
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
51 lines
1.0 KiB
PHP
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
|