Add endblock to life template