<template name="adminInviteUser">
	{{#if isAdmin}}
		<div class="content">
			<div class="user-view">
				<div class="about clearfix">
					<form class="edit-form">
						<h3>{{_ "Send_invitation_email"}}</h3>
						<div class="input-line">
							<label for="inviteEmails">{{_ "Send_invitation_email_info"}}</label>
							<textarea id="inviteEmails" rows="3" style="height: auto" class="content-background-color"></textarea>
						</div>
					</form>
				</div>
				<nav>
					<button class='button button-block cancel'><span>{{_ "Cancel"}}</span></button>
					<button class='button button-block primary send' data-loading-text="{{_ "Please_wait"}}"><span>{{_ "Send"}}</span></button>
				</nav>
				{{#if inviteEmails.length}}
				<div class="about clearfix" style="margin-top: 30px">
					<p style="color: #51a351"> {{_ "Send_invitation_email_success"}} </p>
					<ul style="margin: 5px 10px">
						{{#each inviteEmails}}
						<li style="margin-top: 5px">{{.}}</li>
						{{/each}}
					</ul>
				</div>
				{{/if}}
			</div>
		</div>
	{{/if}}
</template>
