Sha256: e7d04ab85ad28dd3639c037ccd7f033e66c926e59cb38752f97a7fabf21a2860
Contents?: true
Size: 534 Bytes
Versions: 1
Compression:
Stored size: 534 Bytes
Contents
angular.module("hyperadmin") .directive "resourceTable", -> template: """ <table class="table table-striped"> <thead> <tr> <th ng-repeat="attribute in resourceClass.index_attributes"> {{ attribute.human }} </th> <th>Actions</th> </tr> </thead> <tbody> <tr table-row attributes="resourceClass.index_attributes" ng-repeat="resource in resources" resource="resource"> </tr> </tbody> </table> """ scope: resourceClass: "=" resources: "=" restrict: "E"
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hyper_admin-0.4.0 | app/assets/javascripts/hyper_admin/angularjs/directives/table/resource_table.js.coffee |