/********************************************* * Copyright (c) 2014 AnsibleWorks, Inc. * * HostGroups.js * Form definition for Host model * * */ angular.module('HostGroupsFormDefinition', []) .value('HostGroupsForm', { editTitle: 'Host Groups', name: 'host', well: false, formLabelSize: 'col-lg-3', formFieldSize: 'col-lg-9', fields: { groups: { label: 'Groups', type: 'select', multiple: true, ngOptions: 'group.name for group in inventory_groups', addRequired: true, editRequired: true, awPopOver: "
Provide a host name, ip address, or ip address:port. Examples include:
" + "myserver.domain.com", dataTitle: 'Host Name', dataPlacement: 'right', dataContainer: '#form-modal .modal-content' } }, buttons: { //for now always generates
" + "127.0.0.1
" + "10.1.0.140:25
" + "server.example.com:25" + "