Pracownia.Programowania/views/index.html

39 lines
1009 B
HTML
Raw Normal View History

2018-12-11 20:42:44 +01:00
{{ range $key, $value := . }}
2018-12-08 23:15:39 +01:00
<div class="row">
<div class="col-xs-2"></div>
2018-12-11 20:42:44 +01:00
<div class="col-xs-8">
2018-12-13 18:13:47 +01:00
<h1><a href ="/edit/{{$value.Id}}">{{ $value.Title }}</a></h1>
2018-12-11 20:42:44 +01:00
</div>
2018-12-08 23:15:39 +01:00
<div class="col-xs-2"></div>
</div>
<div class="row">
2019-02-01 13:06:00 +01:00
<div class="col-xs-2">
</div>
2018-12-11 20:42:44 +01:00
<div class="col-xs-8">
2018-12-22 20:04:32 +01:00
{{ $value.ContentHtml | unescape }}
2018-12-31 15:42:05 +01:00
2018-12-11 20:42:44 +01:00
2019-02-01 13:06:00 +01:00
<div class="col-xs-8">
<br/><br/>Komentarz
<fieldset style="border: 2px solid; width: 450px; height: 160px; padding: 3;">{{ $value.ContentCom | unescape }}</fieldset>
<form action="/createCom" method="POST" role="form"></form>
<input type="hidden" name="id" value="{{.Id}}"/>
<div class="form-group">
</div>
</form>
</div>
</div>
2018-12-08 23:15:39 +01:00
<div class="col-xs-2"></div>
2018-12-11 20:42:44 +01:00
</div>
{{end}}
2018-12-08 23:15:39 +01:00