code format modified in admin erb