Minor - fix plugin tpls

pull/2715/head
Julio Montoya 6 years ago
parent 53a194fa61
commit 15c7991e5f
  1. 3
      plugin/dictionary/terms.php
  2. 3
      plugin/dictionary/view/terms.html.twig

@ -75,9 +75,6 @@ switch ($action) {
$tpl = new Template($plugin->get_lang('plugin_title'));
$tpl->assign('terms', $terms);
$tpl->assign('form', $form->returnForm());
//$url = api_get_path(WEB_PLUGIN_PATH).'studentfollowup/posts.php?';
//$tpl->assign('post_url', $url);
$content = $tpl->fetch('/'.$plugin->get_name().'/view/terms.html.twig');
// Assign into content
$tpl->assign('content', $content);

@ -1,4 +1,4 @@
{% autoescape false %}
{{ form }}
<table class="data_table">
@ -32,3 +32,4 @@
</tr>
{% endfor %}
</table>
{% endautoescape %}
Loading…
Cancel
Save