67 lines
3.4 KiB
PHP
67 lines
3.4 KiB
PHP
@extends('backpack::layout')
|
|
|
|
@section('header')
|
|
<section class="content-header">
|
|
<h1>
|
|
<span class="text-capitalize">Send mail</span>
|
|
</h1>
|
|
<ol class="breadcrumb">
|
|
<li><a href="/panel/dashboard">Admin</a></li>
|
|
<li><a href="/panel/user" class="text-capitalize">Users</a></li>
|
|
<li class="active">Send mail</li>
|
|
</ol>
|
|
</section>
|
|
@endsection
|
|
|
|
@section('content')
|
|
<a href="/panel/user" class="hidden-print"><i class="fa fa-angle-double-left"></i> Back to all <span>Users</span></a>
|
|
<div class="row m-t-20">
|
|
<div class="col-md-8 col-md-offset-2">
|
|
<!-- Default box -->
|
|
<form method="post" action="/postMail" enctype="multipart/form-data">
|
|
@csrf
|
|
<div class="col-md-12">
|
|
<div class="row display-flex-wrap">
|
|
<!-- load the view from the application if it exists, otherwise load the one in the package -->
|
|
<input type="hidden" name="back_url" value='/panel/users'>
|
|
<input type="hidden" name="email" value="{{$user->email}}" class="form-control">
|
|
<input type="hidden" name="id" value="{{$id}}" class="form-control">
|
|
<div class="tab-content panel col-md-8 m-t-10">
|
|
<div role="tabpanel" class="tab-pane active">
|
|
<!-- load the view from type and view_namespace attribute if set -->
|
|
|
|
<!-- load the view from type and view_namespace attribute if set -->
|
|
<!-- text input -->
|
|
<div class="form-group col-xs-12">
|
|
<label>Subject</label>
|
|
<input name="subject" class="form-control">
|
|
</div>
|
|
<!-- text input -->
|
|
<div class="form-group col-xs-12">
|
|
<label>Message text here</label>
|
|
<textarea name="message" class="form-control summernote">
|
|
</textarea>
|
|
</div>
|
|
<!-- load the view from type and view_namespace attribute if set -->
|
|
</div>
|
|
</div>
|
|
</div><!-- /.box-body -->
|
|
<div class="">
|
|
<div id="saveActions" class="form-group">
|
|
<input type="hidden" name="save_action" value="save_and_back">
|
|
<div class="btn-group">
|
|
<button type="submit" class="btn btn-success">
|
|
<span class="fa fa-send" role="presentation" aria-hidden="true"></span>
|
|
<span data-value="save_and_back">Send and back</span>
|
|
</button>
|
|
</div>
|
|
<a href="/panel/user" class="btn btn-default"><span class="fa fa-ban"></span> Cancel</a>
|
|
</div>
|
|
</div><!-- /.box-footer-->
|
|
</div><!-- /.box -->
|
|
</form>
|
|
</div>
|
|
</div>
|
|
@endsection
|
|
|