app/views/decidim/surveys/admin/surveys/_form.html.erb in decidim-surveys-0.11.2 vs app/views/decidim/surveys/admin/surveys/_form.html.erb in decidim-surveys-0.12.0.pre
- old
+ new
@@ -1,10 +1,10 @@
<div class="card">
<div class="card-divider">
<h2 class="card-title">
<%= title %>
<div class="button--title">
- <%= export_dropdown %>
+ <%= export_dropdown if allowed_to? :export_answers, :survey %>
</div>
</h2>
</div>
<div class="card-section">
<div class="row column">