rosa-build/app/views/projects/comments/_body.html.slim

14 lines
468 B
Plaintext

tabset
tab heading = t('layout.edit')
.offset10 ng-init="issueCtrl.body = '#{f.object.body}'"
= f.input :body, label: false,
input_html: { rows: 10, ng_model: 'issueCtrl.body' }
tab[ heading = t('layout.preview')
select = 'issueCtrl.previewBody()' ]
.offset10
i.fa.fa-spinner.fa-spin.fa-lg ng-show = 'issueCtrl.processing'
div[ ng-bind-html = 'issueCtrl.preview_body'
ng-show = '!issueCtrl.processing' ]