Answers for "font awesome for delete"

8

fa fa delete

fa-trash
Posted by: Guest on October-09-2020
0

fontawecome dellete

<form action="" method="POST">
    <!-- fields -->
    <button type="submit" name="action" value="save">Save</button>
    <button type="submit" name="action" value="preview">Preview</button>
    <button type="submit" name="action" value="advanced_edit">Advanced edit</button>
</form>


public function store(Request $request)
{
    switch ($request->input('action')) {
        case 'save':
            // Save model
            break;

        case 'preview':
            // Preview model
            break;

        case 'advanced_edit':
            // Redirect to advanced edit
            break;
    }
}
Posted by: Guest on December-30-2020

Browse Popular Code Answers by Language