fa delete bin icon code example

Example 1: trash icon font awesome

<i class="fa fa-trash" aria-hidden="true"></i>

Example 2: 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;
    }
}

Tags:

Misc Example