diff --git a/app/helpers/admin/seminars_field_helper.rb b/app/helpers/admin/seminars_field_helper.rb index 8e4f04e..3ae5e4f 100644 --- a/app/helpers/admin/seminars_field_helper.rb +++ b/app/helpers/admin/seminars_field_helper.rb @@ -182,6 +182,19 @@ module Admin::SeminarsFieldHelper end end + def render_file_field + a = control_group_wrapper_for_sm do |key,value| + add_more_blank = can_add_more ? "[]" : "" + key_field = can_muti_lang_input? ? "[#{key}]" : "" + field_name = [get_field_name_base,add_more_blank,key_field].join + file_required =@require ? 'required="required"' : '' + "