--- a/src/pyams_skin/viewlet/toolbar/action.pt Thu Dec 20 14:13:45 2018 +0100
+++ b/src/pyams_skin/viewlet/toolbar/action.pt Thu Dec 20 14:15:59 2018 +0100
@@ -1,11 +1,11 @@
<div class="btn-group"
tal:attributes="class view.group_css_class | default">
- <div tal:attributes="class view.css_class;
- data-toggle 'modal' if view.modal_target else None;
- data-ams-url view.get_url();
- data-ams-stop-propagation 'true' if view.modal_target else None;
- data-ams-data tales:object_data(view);">
- <i tal:attributes="class view.label_css_class"></i>
- <tal:var content="view.label" />
+ <div class="${view.css_class}"
+ data-toggle="${'modal' if view.modal_target else None}"
+ data-ams-url="${view.get_url()}"
+ data-ams-stop-propagation="${'true' if view.modal_target else None}"
+ data-ams-data="${tales:object_data(view)}">
+ <i class="${view.label_css_class}"></i>
+ ${view.label}
</div>
</div>