Merge pull request #765 from dod-ccpo/fix-add-member-modal

Fix add member form
This commit is contained in:
leigh-mil 2019-04-16 14:20:10 -04:00 committed by GitHub
commit 999287b12a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 13 deletions

View File

@ -22,5 +22,5 @@ export default {
levelofwarrant, levelofwarrant,
Modal, Modal,
}, },
mixins: [FormMixin, Modal], mixins: [FormMixin],
} }

View File

@ -57,6 +57,10 @@
</table> </table>
</div> </div>
{% endif %}
</form>
</base-form>
<div class="panel__footer"> <div class="panel__footer">
<div class="action-group save"> <div class="action-group save">
{% if user_can(permissions.EDIT_PORTFOLIO_USERS) %} {% if user_can(permissions.EDIT_PORTFOLIO_USERS) %}
@ -69,10 +73,6 @@
</div> </div>
</div> </div>
{% endif %}
</form>
</base-form>
{% if user_can(permissions.EDIT_PORTFOLIO_USERS) %} {% if user_can(permissions.EDIT_PORTFOLIO_USERS) %}
{% for member in portfolio.members %} {% for member in portfolio.members %}
{% set modal_id = "portfolio_id_{}_user_id_{}".format(portfolio.id, member.user_id) %} {% set modal_id = "portfolio_id_{}_user_id_{}".format(portfolio.id, member.user_id) %}