transferred Code Ocean from original repository to GitHub
This commit is contained in:
8
app/views/consumers/show.html.slim
Normal file
8
app/views/consumers/show.html.slim
Normal file
@@ -0,0 +1,8 @@
|
||||
h1
|
||||
= @consumer
|
||||
= render('shared/edit_button', object: @consumer) if policy(@consumer).edit?
|
||||
|
||||
= row(label: 'consumer.name', value: @consumer.name)
|
||||
- %w[oauth_key oauth_secret].each do |attribute|
|
||||
= row(label: "consumer.#{attribute}") do
|
||||
= content_tag(:input, nil, class: 'form-control', readonly: true, value: @consumer.send(attribute))
|
Reference in New Issue
Block a user