added some directive in order to organize and reuse html code