Merge pull request #1124 from dod-ccpo/ppoc-bug-fixes

PPoC bug fixes
This commit is contained in:
leigh-mil 2019-10-16 14:08:54 -04:00 committed by GitHub
commit 75c57fb084
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 4 deletions

View File

@ -7,7 +7,6 @@
button, button,
[type="button"] { [type="button"] {
&:disabled { &:disabled {
background-color: unset;
opacity: 0.75; opacity: 0.75;
} }
} }

View File

@ -21,7 +21,8 @@
<div class='form-col form-col--half'> <div class='form-col form-col--half'>
{{ {{
OptionsInput( OptionsInput(
assign_ppoc_form.role_id assign_ppoc_form.role_id,
optional=False
) )
}} }}
</div> </div>
@ -65,9 +66,10 @@
{% endset %} {% endset %}
<div class="flex-reverse-row"> <div class="flex-reverse-row">
<a class="usa-button-primary" v-on:click="openModal('change-ppoc-form')"> {% set disable_ppoc_button = 1 == portfolio.members |length %}
<button type="button" class="usa-button usa-button-primary" v-on:click="openModal('change-ppoc-form')" {% if disable_ppoc_button %}disabled{% endif %}>
{{ "fragments.ppoc.update_btn" | translate }} {{ "fragments.ppoc.update_btn" | translate }}
</a> </button>
{{ {{
MultiStepModalForm( MultiStepModalForm(
'change-ppoc-form', 'change-ppoc-form',