@if (CurrRecord != null) {

Edit Rec

}