diff --git a/app/views/admin/galleries/import.html.erb b/app/views/admin/galleries/import.html.erb index 4c76fd6..59c82e3 100644 --- a/app/views/admin/galleries/import.html.erb +++ b/app/views/admin/galleries/import.html.erb @@ -30,4 +30,7 @@ ext = t[t.length - 1]; return (ext == "xls" || ext == "xlsx") } + <% if params[:error] == "1" %> + alert("More than 200 rows present."); + <% end %> \ No newline at end of file