summaryrefslogtreecommitdiff
path: root/app/views/admin/applications/show.html.haml
blob: 3eb9d61972b314a3fea5e12e7f460b69fbadf933 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
- page_title @application.name, "Applications"
%h3.page-title
  Application: #{@application.name}


.table-holder
  %table.table
    %tr
      %td
        Application Id
      %td
        %code#application_id= @application.uid
    %tr
      %td
        Secret:
      %td
        %code#secret= @application.secret

    %tr
      %td
        Callback url
      %td
        - @application.redirect_uri.split.each do |uri|
          %div
            %span.monospace= uri
.form-actions
  = link_to 'Edit', edit_admin_application_path(@application), class: 'btn btn-primary wide pull-left'
  = render 'delete_form', application: @application, submit_btn_css: 'btn btn-danger prepend-left-10'