Allow admins to directly set translations

This commit is contained in:
pfischbeck committed 2019-02-23 13:49:25 +01:00
1 parent 1c2a73ba54
commit d56f0bf587
6 files changed
+49 -8

No files matched your search

+3
View File
@@ -20,4 +20,7 @@
<% end %>
</div>
<%= f.submit %>
<% if user_signed_in? and current_user.admin? %>
<%= f.button t('.save_and_accept'), type: :submit, name: "accept", value: true, class: "btn-success" %>
<% end %>
<% end %>