Basic form
Change-Id: I7ee858b208730b110b355d3f72037f0975aaa356
diff --git a/src/app/views/crud/crud.html b/src/app/views/crud/crud.html
index fbbec88..9057f6f 100644
--- a/src/app/views/crud/crud.html
+++ b/src/app/views/crud/crud.html
@@ -1,2 +1,26 @@
-<h1>{{vm.title}}</h1>
-<xos-table config="vm.tableCfg" data="vm.tableData"></xos-table>
\ No newline at end of file
+<div class="row">
+ <div class="col-xs-8">
+ <h1>{{vm.title}}</h1>
+ </div>
+ <div class="col-xs-4">
+ <a class="btn btn-default" ng-if="!vm.list" href="{{vm.baseUrl}}">Back</a>
+ </div>
+</div>
+<div ng-if="vm.list">
+ <div class="row" ng-show="vm.related.length > 0">
+ <div class="col-xs-4">
+ <h4>Related Items: </h4>
+ </div>
+ <div class="col-xs-8 text-right">
+ <a ng-repeat="r in vm.related" href="#/core/{{r.toLowerCase()}}s/" class="btn btn-default">
+ {{r}}
+ </a>
+ </div>
+ </div>
+ <xos-table config="vm.tableCfg" data="vm.tableData"></xos-table>
+</div>
+
+<div ng-if="!vm.list">
+ <!--<pre>{{vm.model | json}}</pre>-->
+ <xos-form ng-model="vm.model" config="vm.formCfg"></xos-form>
+</div>
\ No newline at end of file