summaryrefslogtreecommitdiff
path: root/app/views/groups/_group_lfs_settings.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/groups/_group_lfs_settings.html.haml')
-rw-r--r--app/views/groups/_group_lfs_settings.html.haml11
1 files changed, 11 insertions, 0 deletions
diff --git a/app/views/groups/_group_lfs_settings.html.haml b/app/views/groups/_group_lfs_settings.html.haml
new file mode 100644
index 00000000000..af57065f0fc
--- /dev/null
+++ b/app/views/groups/_group_lfs_settings.html.haml
@@ -0,0 +1,11 @@
+- if current_user.admin?
+ .form-group
+ .col-sm-offset-2.col-sm-10
+ .checkbox
+ = f.label :lfs_enabled do
+ = f.check_box :lfs_enabled, checked: @group.lfs_enabled?
+ %strong
+ Allow projects within this group to use Git LFS
+ = link_to icon('question-circle'), help_page_path('workflow/lfs/manage_large_binaries_with_git_lfs')
+ %br/
+ %span.descr This setting can be overridden in each project. \ No newline at end of file