Move panel footer outside of base-form so the modals will work

This commit is contained in:
leigh-mil 2019-04-16 11:22:43 -04:00
parent 13a16dc83f
commit 309d959c79
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) %}