[FEATURE] if helper inline form

Adds a basic version of if helper in inline form. In the moment ids aren't support.
I added this behind a feature flag, not sure if it's needed, though.
//cc @mmun.
return value is not needed.