Details and queue management

This commit is contained in:
2017-01-06 08:43:22 -05:00
parent d14e40a36b
commit 42ac27e16f
24 changed files with 260 additions and 51 deletions
+6 -1
View File
@@ -2,6 +2,7 @@
using AutoMapper;
using LeafWeb.Core.DAL;
using LeafWeb.Core.Entities;
using LeafWeb.WebCms.Controllers;
namespace LeafWeb.WebCms.Models
{
@@ -20,7 +21,7 @@ namespace LeafWeb.WebCms.Models
[Display(Name = "Confirm email address")]
[Required(ErrorMessage = "Enter email exactly as above")]
[Compare("Email")]
[System.ComponentModel.DataAnnotations.Compare("Email")]
public string EmailConfirm { get; set; }
[Display(Name = "A unique identifier for this data")]
@@ -35,6 +36,10 @@ namespace LeafWeb.WebCms.Models
[Required(ErrorMessage = "A Photosynthetic pathway must be chosen")]
public SelectListViewModel PhotosynthesisType { get; set; }
[UIHint("TermsOfService")]
[EnforceTrue(ErrorMessage = "Terms of Service must be accepted to continue")]
public bool? TermsOfService { get; set; }
static LeafInputCreate()
{
Mapper.CreateMap<LeafInputCreate, LeafInput>()