Move nested images partial to a component
This commit is contained in:
@@ -14,9 +14,4 @@ module ImageablesHelper
|
||||
def imageable_humanized_accepted_content_types
|
||||
Setting.accepted_content_types_for("images").join(", ")
|
||||
end
|
||||
|
||||
def imageables_note(_imageable)
|
||||
t "images.form.note", accepted_content_types: imageable_humanized_accepted_content_types,
|
||||
max_file_size: imageable_max_file_size
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user