button_tagide_edit_text,class: "#{common_classes} disabled has-tooltip",title: _('You can only edit files when you are on a branch'),data: {container: 'body'}
edit_button_tag(ide_edit_text,common_classes)
# This condition applies to anonymous or users who can edit directly
# This condition only applies to users who are logged in
# Web IDE (Beta) requires the user to have this feature enabled
button_tag(button_text,class: "#{common_classes} disabled has-tooltip",title: _('You can only edit files when you are on a branch'),data: {container: 'body'})