=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"
%p.light
=f.submit'Save changes',class: "btn btn-save"
-if@project.avatar_in_git
Project avatar in repository: #{@project.avatar_in_git}
%a.choose-btn.btn.js-choose-project-avatar-button
Browse file...
%span.file_name.prepend-left-default.js-avatar-filename No file chosen
.help-block The maximum file size allowed is 200KB.
-if@project.avatar?
%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"
=f.submit'Save changes',class: "btn btn-save"
%section.settings.sharing-permissions
%section.settings.sharing-permissions
.settings-header
.settings-header
...
@@ -70,7 +70,7 @@
...
@@ -70,7 +70,7 @@
=expanded?'Collapse':'Expand'
=expanded?'Collapse':'Expand'
%p
%p
Enable or disable certain project features and choose access levels.
Enable or disable certain project features and choose access levels.