.page-header__title - if item.new_record? Добавить - else Редактировать = taccusative(record) = link_to 'Назад', url_for(action: :index), class: 'btn_b_prev page-header__btn'