Added better looking cancel button to Create.cshtml.
Added missing form element classes to eliminate some ReSharper warnings.
Added some attributes to Post entity.
Added basic server-side validation to Create action of Post controller.
Added error messages to Post entity.
Added example of server-side validation using custom attribute. See http://blog.andrei.rinea.ro/2013/06/28/building-client-javascript-custom-validation-in-asp-net-mvc-4-using-jquery/
Added some JavaScript to toggle the display of the custom slug row.
Added client-side validation for the RequiredIfTrue attribute. Unfortunately it's not working :(
See http://blog.andrei.rinea.ro/2013/06/28/building-client-javascript-custom-validation-in-asp-net-mvc-4-using-jquery/
Added Modernizr-2.8.3 in the hope that it made a difference to the failing client-side validation. It didn't.
Added reference to Modernizr in Add view.
Removed the tinymce class from the textarea in Post/Create as it conflicts with the jQuery client-side validation. See http://stackoverflow.com/q/10858591/, http://stackoverflow.com/q/2628990/, http://stackoverflow.com/q/2933990/, http://stackoverflow.com/q/19726404/