fixed bugs in card controller an delete card_detail ,its properties added to card and some of them should be elements delete worn wiews for element template
add as a partial in same directory