#if($query.publisher_id) #set( $publisher = $db.publisher.fetch($query.publisher_id) ) #end #if($publisher)

Edit publisher

#else

Add publisher

#end