1 <div class = "ng-scope" style= "height: 710px"" >
2 <div class="b2b-modal-header ng-scope in">
3 <h2 id="myModalLabel" modal-title="">Role Function Create</h2>
4 <div class="corner-button in">
5 <button type="button" class="close" aria-label="Close"
6 ng-click="$dismiss('cancel')"></button>
10 <div class="b2b-modal-body ng-scope ng-isolate-scope in" tabindex="0"
11 role="region" aria-label="Modal header text content"
12 style="height: 280px;">
14 <div class="field-group">
15 <span ID="required" style="color: Red;" visible="false"> *</span>Name
16 <input id="textinputID-2a" ddh-reset ng-model="roleFun['name']"
17 placeholder="Name" class="span12" type="text">
19 <div class="error-container"
20 ng-show="!roleFun['name']||roleFun['name']==0">
21 <small id="name-required" class="err-message">Name is Required</small>
24 <div class="field-group">
25 <span ID="required" style="color: Red;" visible="false"> *</span>Code
26 <input id="textinputID-2a" ddh-reset ng-model="roleFun['code']"
27 placeholder="Code" class="span12" type="text">
30 <div class="error-container"
31 ng-show="!roleFun['code']||roleFun['code']==0">
32 <small id="code-required" class="err-message">Code is
36 <div class="field-group">
37 <span ID="required" style="color: Red;" visible="false"> *</span>
39 <div ng-repeat="radioObj in ngRepeatDemo" class="form-row"
42 <label for="{{radioObj.id}}" class="radio"> <input
43 type="radio" ng-model="selectedvalueradioButtonGroup.type"
44 ng-disabled="disableCd" name="nameradioButton"
45 value="{{radioObj.value}}" id="{{radioObj.id}}"
46 name="nameradioButton" ddh-reset> <i class="skin"></i> <span>{{radioObj.labelvalue}}</span>
50 ng-show="selectedvalueradioButtonGroup.type === 'other'"
51 id="type-property-input" class="adminForm-name-property-input"
52 ng-model= "selectedvalueradioButtonOther.type" ng-disabled="disableCd" type="text"
55 <div class="error-container"
56 ng-show="selectedvalueradioButtonGroup.type === 'other'">
57 <small id="microservices-details-input-url-required"
58 class="err-message">Type is Required</small>
61 <div class="field-group">
62 <span ID="required" style="color: Red;" visible="false"> *</span>Action
63 <input id="textinputID-2c" ddh-reset ng-model="roleFun['action']"
64 placeholder="Action" class="span12" type="text">
66 <div class="error-container"
67 ng-show="!roleFun['action']||roleFun['action']==0">
68 <small id="action-required" class="err-message">Action is Required</small>
73 <div class="b2b-modal-footer ng-scope ng-isolate-scope in" style = "top: 200px">
74 <div class="cta-button-group in">
75 <button class="btn btn-alt btn-medium" type="button" ng-disabled= "(!roleFun['name']||roleFun['name']==0)|| (!roleFun['code']||roleFun['code']==0) || (!selectedvalueradioButtonGroup.type||selectedvalueradioButtonGroup.type.length==0)||(selectedvalueradioButtonGroup.type ==='other'&&(!selectedvalueradioButtonOther.type||selectedvalueradioButtonOther.type.length==0)) || (!roleFun['action']||roleFun['action']==0)"
76 ng-click="save(roleFun,selectedvalueradioButtonGroup.type)">Create</button>
77 <button class="btn btn-medium" type="button"
78 ng-click="$dismiss('cancel')">Cancel</button>