create row directive and topic detail template