2021-03-08 21:17:27 +00:00
|
|
|
<div id="babel" class="generic-page-wrapper">
|
|
|
|
<h2>{{$title}}</h2>
|
|
|
|
<form action="babel" method="post" class="panel panel-default">
|
2024-02-22 05:53:52 +00:00
|
|
|
<input type="hidden" name="form_security_token" value="{{$form_security_token}}">
|
2021-03-08 21:17:27 +00:00
|
|
|
<div class="panel-body">
|
|
|
|
<div class="form-group">
|
|
|
|
{{include file="field_textarea.tpl" field=$text}}
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
{{include file="field_radio.tpl" field=$type_bbcode}}
|
|
|
|
{{include file="field_radio.tpl" field=$type_diaspora}}
|
|
|
|
{{include file="field_radio.tpl" field=$type_markdown}}
|
|
|
|
{{include file="field_radio.tpl" field=$type_html}}
|
|
|
|
{{if $flag_twitter}}
|
|
|
|
{{include file="field_radio.tpl" field=$type_twitter}}
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
<p><button type="submit" class="btn btn-primary">{{$submit}}</button></p>
|
2018-03-09 04:48:32 +00:00
|
|
|
</div>
|
2021-03-08 21:17:27 +00:00
|
|
|
</form>
|
2018-03-09 04:48:32 +00:00
|
|
|
|
2021-03-08 21:17:27 +00:00
|
|
|
{{if $results}}
|
|
|
|
<div class="babel-results">
|
|
|
|
{{foreach $results as $result}}
|
|
|
|
<div class="panel panel-default">
|
|
|
|
<div class="panel-heading">
|
|
|
|
<h3 class="panel-title">{{$result.title}}</h3>
|
|
|
|
</div>
|
|
|
|
<div class="panel-body">{{$result.content nofilter}}</div>
|
2018-03-09 04:48:32 +00:00
|
|
|
</div>
|
2021-03-08 21:17:27 +00:00
|
|
|
{{/foreach}}
|
2018-03-09 04:48:32 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2024-02-22 05:53:52 +00:00
|
|
|
{{/if}}
|