/********************************************* * Copyright (c) 2013 AnsibleWorks, Inc. * * Organization.js * Form definition for Organization model * * */ angular.module('OrganizationFormDefinition', []) .value( 'OrganizationForm', { addTitle: 'Create Organization', //Title in add mode editTitle: '{{ name }}', //Title in edit mode name: 'organization', //entity or model name in singular form well: true, //Wrap the form with TB well/ fields: { name: { label: 'Name', type: 'text', addRequired: true, editRequired: true, capitalize: true }, description: { label: 'Description', type: 'text', addRequired: false, editRequired: false } }, buttons: { //for now always generates