Sha256: a515385eb811e7addf9946c1332a26f0fefc0935b68719cff9cabc27d0b3b019
Contents?: true
Size: 1.97 KB
Versions: 2
Compression:
Stored size: 1.97 KB
Contents
{I" class:ETI"ProcessedAsset; FI"logical_path; TI";hyper_admin/angularjs/directives/form/resource_form.js; FI" pathname; TI"}/home/sindre/Code/hyper/hyper_admin/app/assets/javascripts/hyper_admin/angularjs/directives/form/resource_form.js.coffee; FI"content_type; TI"application/javascript; TI" mtime; Tl+§[TI"length; Ti1I"digest; TI"%d200dcaee48b466ef95948e0f8a9336a; FI"source; TI"1(function() { angular.module("hyperadmin").directive("resourceForm", function() { return { template: "<div class=\"row\">\n <div class=\"col-xs-12\" ng-controller=\"FormCtrl as formCtrl\">\n <form-errors errors=\"formCtrl.errors\"></form-errors> \n\n <form class=\"form-horizontal\" name=\"form\" ng-submit=\"formCtrl.submit()\" novalidate>\n <form-input-group ng-repeat=\"attribute in resourceClass.attributes\"\n resource=\"formCtrl.resource\"\n attr=\"attribute.key\"\n errors=\"formCtrl.errors[attribute.key]\"\n human=\"attribute.human\"\n type=\"attribute.type\">\n </form-input-group>\n\n <form-actions form=\"form\" cancel-state=\"resourceClass.plural\"\n </form>\n </div>\n</div>", restrict: "E", scope: { resourceClass: "=resourceClass" }, controller: function($scope) { return ["id", "created_at", "updated_at"].forEach(function(attr) { return delete $scope.resourceClass.attributes[attr]; }); } }; }); }).call(this); ; TI"dependency_digest; TI"%bf63360566349ade6ef347707ced55c2; FI"required_paths; T[I"}/home/sindre/Code/hyper/hyper_admin/app/assets/javascripts/hyper_admin/angularjs/directives/form/resource_form.js.coffee; FI"dependency_paths; T[{I" path; TI"}/home/sindre/Code/hyper/hyper_admin/app/assets/javascripts/hyper_admin/angularjs/directives/form/resource_form.js.coffee; FI" mtime; TI"2014-09-15T23:35:35+02:00; TI"digest; TI"%d9e9f7c61fdaa8c39a87e2749d6f407d; FI" _version; TI"%3e3098c8a5e9a7f3b984ba95ac600637; F
Version data entries
2 entries across 2 versions & 1 rubygems