BigW Consortium Gitlab

show.html.haml 685 Bytes
Newer Older
1
- page_title @application.name, "Applications"
Valery Sizov committed
2 3
%h3.page-title
  Application: #{@application.name}
4

Douwe Maan committed
5 6 7 8 9 10 11 12 13 14 15 16
.table-holder
  %table.table
    %tr
      %td
        Application Id
      %td
        %code#application_id= @application.uid
    %tr
      %td
        Secret:
      %td
        %code#secret= @application.secret
17

Douwe Maan committed
18 19 20 21 22 23 24
    %tr
      %td
        Callback url
      %td
        - @application.redirect_uri.split.each do |uri|
          %div
            %span.monospace= uri
25 26 27
.form-actions
  = link_to 'Edit', edit_oauth_application_path(@application), class: 'btn btn-primary wide pull-left'
  = render 'delete_form', application: @application, submit_btn_css: 'btn btn-danger prepend-left-10'