Refactor add-contributor component to DDAU

This commit is contained in:
2018-04-06 14:04:44 +02:00
committed by Michael Bumann
parent fa7db66f4e
commit 8f841522a3
7 changed files with 101 additions and 95 deletions
+6 -3
View File
@@ -65,8 +65,11 @@
</header>
<div class="content">
{{add-contributor contributors=model.contributors
newContributor=model.newContributor
contractInteractionEnabled=contractInteractionEnabled}}
{{!--
TODO:
only show the form if currentUser.isCore else show:
Only core team members can add new contributors. Please ask someone to set you up.
--}}
{{add-contributor contributors=model.contributors save=(action 'save')}}
</div>
</section>