% // Page Titles/Descriptions var title = 'Log In'; var description = 'Log into your account!'; // Social Media Providers var largeSocial = 'col-sm-8'; var smallSocial = 'col-sm-4'; if (inputs.hasSocialProviders) { largeSocial = 'col-sm-12'; smallSocial = 'col-sm-12'; } // Labels and Values for Input fields var uidLabel = "Username or Email"; var uidValue = inputs.form ? inputs.form.username||inputs.form.email : ''; var pwdLabel = "Password"; var buttonLabel = "Log In"; // Status Messages var statusDictionary = {}; statusDictionary['unverified'] = {header: 'Please check your email', detail: ['Before you can log into your account, you need to confirm your account by clicking the link we sent to your email address.', 'Be sure to check your spam folder and whitelist no-reply@machi.na.', 'Can\'t find the email? Resend'] }; statusDictionary['verified'] = {header: 'You are now confirmed', detail: ['You have successfully confirmed your email address. If you wish to login, you can do so below.'] }; statusDictionary['created'] = {header: 'Thank you for signing up', detail: ['You may now login.'] }; statusDictionary['reset'] = {header: 'Password is reset', detail: ['You can now login with your new password.'] }; statusDictionary['forgot'] = {header: 'Password Reset Requested', detail: ['If an account exists for the email provided, you will receive an email shortly.'] }; // Set the Current Status Information var status=inputs.status; if (status) { var statusHeader = statusDictionary[status].header; var statusDetail = statusDictionary[status].detail; } %> <% include blocks/pre.content.html %>
<%- statusItem %>
<% } %><%= inputs.error %>
<%= error %>
<% } %>