most-proposal-detail.pug 662 Bytes
Newer Older
Tuan Tuan LE's avatar
Tuan Tuan LE committed
1 2
sub-header
  most-proposal-detail-subheader(
Sang D NGO's avatar
Sang D NGO committed
3
    data-title="$ctrl.proposal.formJson.title",
4
    show-action="$ctrl.showAction",
Tuan Tuan LE's avatar
Tuan Tuan LE committed
5
    on-reject-btn-click="$ctrl.onRejectBtnClick()",
Sang D NGO's avatar
Sang D NGO committed
6
    on-review-btn-click="$ctrl.onReviewBtnClick()",
Tuan Tuan LE's avatar
Tuan Tuan LE committed
7 8 9 10
    on-accept-btn-click="$ctrl.onAcceptBtnClick()"
  )
.card
  .card-body.p-20
Sang D NGO's avatar
Sang D NGO committed
11
    .form-container(ng-switch="$ctrl.proposal.type")
Tuan Tuan LE's avatar
Tuan Tuan LE committed
12 13 14
      most-proposal-form-a1(ng-switch-when="A1", data="$ctrl.proposal.formJson", editMode="false")
      most-proposal-form-a2(ng-switch-when="A2", data="$ctrl.proposal.formJson", editMode="false")
      most-proposal-form-a3(ng-switch-when="A3", data="$ctrl.proposal.formJson", editMode="false")