init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
|
@ -0,0 +1,47 @@
|
|||
@using Kreta.Resources
|
||||
@using Kreta.Web.Helpers
|
||||
@using Kreta.Web.Models
|
||||
|
||||
@model Gondviselo4TAdatokModel
|
||||
|
||||
@{
|
||||
var formName = "Gondviselo4TAdatokModForm";
|
||||
}
|
||||
|
||||
<script type="text/javascript">
|
||||
var Gondviselo4TAdatokModHelper = (function () {
|
||||
var gondviselo4TAdatokModHelper = function () { };
|
||||
|
||||
var url = {
|
||||
Save4TAdatok: '@Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = Constants.ApiControllers.ProfilApi, action = "SaveGondviselo4TAdatok" })',
|
||||
};
|
||||
|
||||
gondviselo4TAdatokModHelper.save = function () {
|
||||
AjaxHelper.DoPostElement(url.Save4TAdatok, "@formName", sikeresMentes, sikertelenMentes);
|
||||
}
|
||||
|
||||
sikeresMentes = function (data) {
|
||||
KretaWindowHelper.successFeedBackWindow();
|
||||
}
|
||||
|
||||
sikertelenMentes = function (data) {
|
||||
KretaWindowHelper.feedbackWindow("@ErrorResource.Hiba", data.responseJSON.Message, true);
|
||||
}
|
||||
|
||||
return gondviselo4TAdatokModHelper;
|
||||
})();
|
||||
</script>
|
||||
|
||||
@using (Html.KretaForm(formName))
|
||||
{
|
||||
@Html.KretaValidationSummary()
|
||||
<div class="container-fluid details">
|
||||
@Html.Partial("Gondviselo4TAdatokEditor", Model)
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-11">
|
||||
@Html.KretaButton("Gondviselo4TAdatSaveBtn", CommonResource.AdatokMentese, clickEventName: "Gondviselo4TAdatokModHelper.save").Enable(Model.IsEditable)
|
||||
</div>
|
||||
<div class="col-xs-1"></div>
|
||||
</div>
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue