This commit is contained in:
Oleksandr Turchyn
2024-09-18 19:47:47 +03:00
committed by Oleksandr Turchyn
parent 3c60fb4ee6
commit e9d728fa4a
132 changed files with 1121 additions and 600 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ module Templates
template.external_id = external_id
template.author = author
template.preferences = original_template.preferences.deep_dup
template.name = name || "#{original_template.name} (Clone)"
template.name = name || "#{original_template.name} (#{I18n.t('clone')})"
template.assign_attributes(original_template.slice(:folder_id, :schema))