Fix up the applications area (#4664)
- Section it into "Development" area - Improve UI of application form, index, and detailsmaster
parent
696c2c6f2f
commit
c1b086a538
@ -1,4 +1,11 @@ |
||||
= f.input :name, hint: t('activerecord.attributes.doorkeeper/application.name') |
||||
= f.input :website, hint: t('activerecord.attributes.doorkeeper/application.website') |
||||
= f.input :redirect_uri, hint: t('activerecord.attributes.doorkeeper/application.redirect_uri') |
||||
= f.input :scopes, hint: t('activerecord.attributes.doorkeeper/application.scopes') |
||||
.fields-group |
||||
= f.input :name, placeholder: t('activerecord.attributes.doorkeeper/application.name') |
||||
= f.input :website, placeholder: t('activerecord.attributes.doorkeeper/application.website') |
||||
|
||||
.fields-group |
||||
= f.input :redirect_uri, wrapper: :with_block_label, label: t('activerecord.attributes.doorkeeper/application.redirect_uri'), hint: t('doorkeeper.applications.help.redirect_uri') |
||||
|
||||
%p.hint= t('doorkeeper.applications.help.native_redirect_uri', native_redirect_uri: Doorkeeper.configuration.native_redirect_uri) |
||||
|
||||
.fields-group |
||||
= f.input :scopes, wrapper: :with_label, label: t('activerecord.attributes.doorkeeper/application.scopes'), hint: t('doorkeeper.applications.help.scopes') |
||||
|
@ -1,9 +1,8 @@ |
||||
- content_for :page_title do |
||||
= t('doorkeeper.applications.new.title') |
||||
|
||||
= simple_form_for @application, url: settings_applications_path do |f| |
||||
= render 'fields', f: f |
||||
|
||||
.form-container |
||||
= simple_form_for @application, url: settings_applications_path do |f| |
||||
= render 'fields', f:f |
||||
|
||||
.actions |
||||
= f.button :button, t('.create'), type: :submit |
||||
.actions |
||||
= f.button :button, t('doorkeeper.applications.buttons.submit'), type: :submit |
||||
|
Loading…
Reference in new issue