Allow using icons without custom class
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-05-28 14:50:59 +04:00
parent 4c6e64095f
commit 55111f1b8b
295 changed files with 301 additions and 294 deletions

7
app/views/icons/foo.sh Normal file
View File

@@ -0,0 +1,7 @@
for file in *.erb; do
if [ -f "$file" ]; then
sed -i'.bak' 's/<%= *custom_class *%>/<%= local_assigns[:custom_class] %>/g' "$file"
echo "Updated $file"
rm "${file}.bak"
fi
done