Skip to content

Instantly share code, notes, and snippets.

View waracci's full-sized avatar
🎯
Focusing

Morris Warachi waracci

🎯
Focusing
View GitHub Profile
@tesh254
tesh254 / verifyEmailTemplate.js
Created September 16, 2019 14:06
A simple email template to send users with Nodemailer when they need to verify their account
const verifyEmail = (username, email, link) => `
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>Password Reset</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<div class="row">
<div class="col-md-6 col-md-offset-3 well">
<form novalidate (ngSubmit)="onSubmit(listing)" [formGroup]="listing">
<label>
<span>Name</span>
<input type="text" formControlName="name" placeholder="Enter listing's name (if it has one)'">
</label>
<label>
<span>Listing Type</span>
<select formControlName="type">