-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Template for the email sending function
- Loading branch information
Showing
1 changed file
with
56 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
<div class="center"> | ||
<div class="page-header"> | ||
<h2>[% loc('Send Email') %]</h2> | ||
</div> | ||
</div> | ||
<form class="form-horizontal" action="[% c.uri_for_action('siteadmin/send_email') %]" method="POST"> | ||
<div class="form-group"> | ||
<label class="col-sm-2 control-label" for="to">To:</label> | ||
<div class="col-sm-10"> | ||
<input name="to" id="to" type="email" | ||
class="form-control" placeholder="[email protected]" required> | ||
</div> | ||
</div> | ||
<div class="form-group"> | ||
<label class="col-sm-2 control-label" for="cc">Cc:</label> | ||
<div class="col-sm-10"> | ||
<input id="cc" name="cc" type="email" | ||
class="form-control" placeholder="[email protected]"> | ||
</div> | ||
</div> | ||
<div class="form-group"> | ||
<label class="col-sm-2 control-label" for="bcc">Bcc:</label> | ||
<div class="col-sm-10"> | ||
<input id="bcc" name="bcc" type="email" | ||
class="form-control" placeholder="[email protected]"> | ||
</div> | ||
</div> | ||
<div class="form-group"> | ||
<label class="col-sm-2 control-label" for="reply_to">Reply-To:</label> | ||
<div class="col-sm-10"> | ||
<input id="reply_to" name="reply_to" type="email" | ||
class="form-control" | ||
placeholder="[email protected]"> | ||
</div> | ||
</div> | ||
<div class="form-group"> | ||
<label class="col-sm-2 control-label" for="subject">Subject:</label> | ||
<div class="col-sm-10"> | ||
<input id="subject" name="subject" type="text" | ||
class="form-control" placeholder="Subject" required> | ||
</div> | ||
</div> | ||
<div class="form-group"> | ||
<label class="col-sm-2 control-label" for="text_body">Body:</label> | ||
<div class="col-sm-10"> | ||
<textarea id="text_body" name="text_body" | ||
class="form-control" rows="10" required></textarea> | ||
</div> | ||
</div> | ||
<div class="form-group"> | ||
<div class="col-xs-12 text-center"> | ||
<button type="submit" class="btn btn-primary">Send</button> | ||
</div> | ||
</div> | ||
</form> | ||
|