summaryrefslogtreecommitdiff
path: root/app/views/projects/project_variables/_index.html.haml
blob: 279667728f253d5a5693d4ba653289d0003cfc8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
.row.prepend-top-default.append-bottom-default
  .col-lg-4
    = render "projects/project_variables/content"
  .col-lg-8
    %h5.prepend-top-0
      Add a variable
    = render "projects/project_variables/form", btn_text: "Add new variable"
    %hr
    %h5.prepend-top-0
      Your variables (#{@project.variables.size})
    - if @project.variables.empty?
      %p.settings-message.text-center.append-bottom-0
        No variables found, add one with the form above.
    - else
      = render "projects/project_variables/table"
      %button.btn.btn-info.js-btn-toggle-reveal-values{ "data-status" => 'hidden' } Reveal Values