Fix erb to slim conversion errors