
l'estimation * LocalizedText.resx: * FrontOfficeApiController.cs: renamed the Tex generation method * FrontOfficeController.cs: fixed the Estimate creation * WorkFlowController.cs: return model validation errors when updating a writting. * TexFormatter.cs: Simple mime-type content declaration * Global.asax.cs: * T4TemplateEstimate.cs: cleanning * BBCodeHelper.cs: BBCodes: docpage summary gone into a new aside element * App.master: thanks links are now contained in a div element * style.css: clearer * Estimate.aspx: Fixed the creation/edition/removal processes * Estim.tt: added the column "Count" to the writtings table. * RegisterViewModel.cs: internationalization * Writting.cs: stronger model * Estim.tex: cleaning
27 lines
720 B
C#
27 lines
720 B
C#
using System;
|
|
using System.ComponentModel;
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace Yavsc.Model.RolesAndMembers
|
|
{
|
|
public class RegisterViewModel
|
|
{
|
|
[Localizable(true)]
|
|
[Display(Name="User name")]
|
|
[Required(ErrorMessage = "S'il vous plait, entrez un nom d'utilisateur")]
|
|
public string UserName { get; set; }
|
|
|
|
[DisplayName("Mot de passe")]
|
|
[Required(ErrorMessage = "S'il vous plait, entez un mot de passe")]
|
|
public string Password { get; set; }
|
|
|
|
[DisplayName("Confirmation du mot de passe")]
|
|
public string ConfirmPassword { get; set; }
|
|
|
|
[DisplayName("Adresse e-mail")]
|
|
[Required(ErrorMessage = "S'il vous plait, entrez un e-mail valide")]
|
|
public string Email { get; set; }
|
|
}
|
|
}
|
|
|