@using Kreta.Web.Areas.Adatszolgaltatasok.Models
@using Kreta.Web.Helpers
@using Kreta.Resources
@using Kreta.Web.Areas.Intezmeny.Models
@using Kreta.Web.Helpers.Grid;
@model MeroallasModel
@{
var newModifyMeroallasFormName = "meroallasNewModifyForm";
}
@using (Html.KretaForm(newModifyMeroallasFormName))
{
@Html.KretaValidationSummary()
@Html.HiddenFor(x => x.Id)
@Html.HiddenFor(x => x.MerohelyId)
@Html.HiddenFor(x => x.PictureId)
@Html.HiddenFor(x => x.IsDeleteImage)
@Html.KretaNumericFor(x => x.Meroallas).Min(0.00).Max(Kreta.Core.Constants.MinMaxValues.MerohelyMaxValue).Step(0.01).RenderWithName(3, 3)
@Html.KretaDatePickerFor(x => x.LeolvasasDatuma).Min(new DateTime(1900, 1, 1)).Max(DateTime.Today).RenderWithName(3, 3)
@Html.KretaFileUpload("FotoInputContainer", onSelectEvent: "function(e){ MeroallasFileUploadHelper.onSelectKep(e); }", allowMultiple: false, selectText: IntezmenyResource.KepTallozasa)
@(Html.KretaListView(name: "meroallasKepList", tagName: "div", clientTemplateId: "PictureListViewTemplate", getUrl: new ApiUrlBuilder("MerohelyApi", "GetPicture", new Dictionary { { "meroallasId", Model.Id.HasValue ? Model.Id : 0 }, { "pictureId", Model.PictureId.HasValue ? Model.PictureId : 0 } })).AutoBind(true))
}