The distinction between template and code makes it easier for the UI/UX designer to apply changes - he will not get distracted by things he doesn't know.
But maybe it's about the restriction of only one return statement that let me feel uncomfy. There is this restriction, right?