Skip to content

Commit

Permalink
Added urls to create/edit modals
Browse files Browse the repository at this point in the history
  • Loading branch information
rladdusaw committed Apr 28, 2020
1 parent d333335 commit 75a2aed
Show file tree
Hide file tree
Showing 2 changed files with 84 additions and 0 deletions.
40 changes: 40 additions & 0 deletions app/views/modals/addProductModal.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,46 @@ <h4 class="modal-title">Create Product</h4>
</select>
</div>

<validatedinput
model="productToCreate"
property="devUrl"
label="Development Deployment Location"
placeholder="URL of Deployment"
form="productForms.create"
validations="productForms.validations"
results="productRepo.getResults()">
</validatedinput>

<validatedinput
model="productToCreate"
property="preUrl"
label="Pre-Production Deployment Location"
placeholder="URL of Deployment"
form="productForms.create"
validations="productForms.validations"
results="productRepo.getResults()">
</validatedinput>

<validatedinput
model="productToCreate"
property="productionUrl"
label="Production Deployment Location"
placeholder="URL of Deployment"
form="productForms.create"
validations="productForms.validations"
results="productRepo.getResults()">
</validatedinput>

<validatedinput
model="productToCreate"
property="wikiUrl"
label="Product Wiki Page"
placeholder="URL of Wiki Page"
form="productForms.create"
validations="productForms.validations"
results="productRepo.getResults()">
</validatedinput>

</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" ng-click="resetCreateProduct()">Cancel</button>
Expand Down
44 changes: 44 additions & 0 deletions app/views/modals/editProductModal.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,50 @@ <h4 class="modal-title">Edit Product</h4>
</select>
</div>

<validatedinput
model="productToEdit"
property="devUrl"
label="Development Deployment Location"
placeholder="URL of Deployment"
form="productForms.edit"
validations="productForms.validations"
results="productForms.getResults()"
autocomplete="off">
</validatedinput>

<validatedinput
model="productToEdit"
property="preUrl"
label="Pre-Production Deployment Location"
placeholder="URL of Deployment"
form="productForms.edit"
validations="productForms.validations"
results="productForms.getResults()"
autocomplete="off">
</validatedinput>

<validatedinput
model="productToEdit"
property="productionUrl"
label="Production Deployment Location"
placeholder="URL of Deployment"
form="productForms.edit"
validations="productForms.validations"
results="productForms.getResults()"
autocomplete="off">
</validatedinput>

<validatedinput
model="productToEdit"
property="wikiUrl"
label="Product Wiki Page"
placeholder="URL of Wiki Page"
form="productForms.edit"
validations="productForms.validations"
results="productForms.getResults()"
autocomplete="off">
</validatedinput>

</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" ng-click="cancelEditProduct()">Cancel</button>
Expand Down

0 comments on commit 75a2aed

Please sign in to comment.