2015-02-07 19:49:04 +01:00
|
|
|
nav(ng-include='"components/navbar/navbar.html"')
|
|
|
|
|
2015-02-09 02:42:31 +01:00
|
|
|
nav(ng-include='"components/elements/header.html"')
|
2015-02-07 19:49:04 +01:00
|
|
|
|
|
|
|
.container
|
|
|
|
.row
|
2015-02-09 02:42:31 +01:00
|
|
|
.col-lg-6.col-md-12
|
2015-02-10 02:19:47 +01:00
|
|
|
form.controls
|
2015-02-09 02:42:31 +01:00
|
|
|
h4
|
|
|
|
{{document.title}} - {{revision.created}}
|
|
|
|
.form-group
|
|
|
|
label(for='status-input')
|
|
|
|
| Status
|
|
|
|
select.form-control(id='status-input', ng-model='revision.state', ng-options='stateOption as stateOption for stateOption in stateOptions')
|
|
|
|
option(value='{{stateOption}}')
|
|
|
|
//input.form-control(type='text', id='status-input', ng-model='revision.state')
|
|
|
|
.form-group
|
|
|
|
label(for='content-input')
|
|
|
|
| Content
|
|
|
|
textarea.form-control(id='content-input', ng-model='revision.content')
|
|
|
|
button.btn.btn-primary(ng-click='saveRevision()')
|
|
|
|
| Save
|
2015-02-07 19:49:04 +01:00
|
|
|
|
2015-02-09 02:42:31 +01:00
|
|
|
.col-lg-6.col-md-12
|
|
|
|
div(btf-markdown='revision.content')
|
|
|
|
|
|
|
|
//.row
|
2015-02-07 19:49:04 +01:00
|
|
|
pre.col-lg-9.col-md-12.center-block
|
|
|
|
{{json(revision)}}
|
|
|
|
|
|
|
|
|
|
|
|
footer(ng-include='"components/elements/footer.html"')
|