           star : "hidden",
           container : "container-horizontal",
           field1 : "field-1-horizontal",
+          field2 : "field-2-horizontal"
+      when "tableView"
+      	styleMap =
+          star : "hidden",
+          container : "container-horizontal",
+          field1 : "hidden",
           field2 : "field-2-horizontal"
 
     $scope.styleMap = styleMap

                                       create-resources='createResources()'
                                       options='csFieldOptions'>
                     </#{directiveName}>"



    innerElement = angular.element(element[0].querySelector(wrapperName))
    innerElement.append($compile(inputTemplate)($scope))


    # ===== COMPILE DOM WITH APPROPRIATE DIRECTIVE ========

    if override = getDirectiveOverride($scope)
      directiveName = override
    else
      type = $scope.field.type

      directiveName = switch
        when type == 'boolean'  then 'cs-checkbox'
        when type == 'date'     then 'cs-date'
        when type == 'datetime' then 'cs-datetime'
        when type == 'enum'     then 'cs-enum'
        when type == 'integer'  then 'cs-number'
        when type == 'float'    then 'cs-number'
        when type == 'resource' then 'cs-resource-input'
        when type == 'string'   then 'cs-textfield'
        when type == 'time'     then 'cs-time'

    wrapperName = ".cs-input-wrapper"
    inputTemplate = "<#{directiveName} form-item='formItem'
