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