BigW Consortium Gitlab

_visibility_level.html.haml 643 Bytes
Newer Older
Vinnie Okada committed
1 2 3
.form-group.project-visibility-level-holder
  = f.label :visibility_level, class: 'control-label' do
    Visibility Level
4
    = link_to icon('question-circle'), help_page_path("public_access/public_access")
Vinnie Okada committed
5 6 7 8
  .col-sm-10
    - if can_change_visibility_level
      = render('shared/visibility_radios', model_method: :visibility_level, form: f, selected_level: visibility_level, form_model: form_model)
    - else
9
      %div
Vinnie Okada committed
10 11 12 13 14
        %span.info
          = visibility_level_icon(visibility_level)
          %strong
            = visibility_level_label(visibility_level)
          .light= visibility_level_description(visibility_level, form_model)