2018-03-09 05:48:32 +01:00
|
|
|
<h2>Babel Diagnostic</h2>
|
|
|
|
<form action="babel" method="post" class="panel panel-default">
|
|
|
|
<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}}
|
2020-03-11 14:01:17 +01:00
|
|
|
{{include file="field_radio.tpl" field=$type_diaspora}}
|
2018-03-09 05:48:32 +01:00
|
|
|
{{include file="field_radio.tpl" field=$type_markdown}}
|
|
|
|
{{include file="field_radio.tpl" field=$type_html}}
|
2020-07-17 23:14:13 +02:00
|
|
|
{{if $flag_twitter}}
|
|
|
|
{{include file="field_radio.tpl" field=$type_twitter}}
|
|
|
|
{{/if}}
|
2018-03-09 05:48:32 +01:00
|
|
|
</div>
|
|
|
|
<p><button type="submit" class="btn btn-primary">Submit</button></p>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
|
|
|
|
{{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">
|
2018-12-25 17:37:11 +01:00
|
|
|
{{$result.content nofilter}}
|
2018-03-09 05:48:32 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{/foreach}}
|
|
|
|
</div>
|
|
|
|
{{/if}}
|