=link_to'Remove avatar',group_avatar_path(@group.to_param),data: {confirm: "Group avatar will be removed. Are you sure?"},method: :delete,class: "btn btn-remove btn-sm remove-avatar"
=link_to_('Remove avatar'),group_avatar_path(@group.to_param),data: {confirm: _("Avatar will be removed. Are you sure?")},method: :delete,class: "btn btn-danger btn-inverted"
.help-block=_("The maximum file size allowed is 200KB.")
The maximum file size allowed is 200KB.
-if@user.avatar?
-if@user.avatar?
%hr
%hr
=link_to'Remove avatar',profile_avatar_path,data: {confirm: 'Avatar will be removed. Are you sure?'},method: :delete,class: 'btn btn-gray'
=link_to_('Remove avatar'),profile_avatar_path,data: {confirm: _('Avatar will be removed. Are you sure?')},method: :delete,class: 'btn btn-danger btn-inverted'
.help-block The maximum file size allowed is 200KB.
.help-block=_("The maximum file size allowed is 200KB.")
-if@project.avatar?
-if@project.avatar?
%hr
%hr
=link_to'Remove avatar',project_avatar_path(@project),data: {confirm: "Project avatar will be removed. Are you sure?"},method: :delete,class: "btn btn-remove btn-sm remove-avatar"
=link_to_('Remove avatar'),project_avatar_path(@project),data: {confirm: _("Avatar will be removed. Are you sure?")},method: :delete,class: "btn btn-danger btn-inverted"