Details and queue management
This commit is contained in:
@@ -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>()
|
||||
|
||||
Reference in New Issue
Block a user