Do you mean adding a if/else conditional around the <div> and change then rendering inside the clauses?