Cleaned up view and use slim instead of erb cause erb cannot handle blocks