Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

linting

ulfertsc64ae28cc338
diff --git a/modules/storages/app/components/storages/admin/forms/redirect_uri_form_component.html.erb b/modules/storages/app/components/storages/admin/forms/redirect_uri_form_component.html.erb
index afde01107df..6795a1b5a96 100644
--- a/modules/storages/app/components/storages/admin/forms/redirect_uri_form_component.html.erb
+++ b/modules/storages/app/components/storages/admin/forms/redirect_uri_form_component.html.erb
@@ -1,6 +1,6 @@
<%=
- component_wrapper(tag: 'turbo-frame') do
- render(Primer::Beta::Text.new(tag: :div, test_selector: 'storage-oauth-client-form')) do
+ component_wrapper(tag: "turbo-frame") do
+ render(Primer::Beta::Text.new(tag: :div, test_selector: "storage-oauth-client-form")) do
primer_form_with(
model: oauth_client,
url: form_url,
@@ -11,7 +11,7 @@
render(Primer::OpenProject::InputGroup.new(input_width: :large)) do |input_group|
input_group.with_text_input(
name: :oauth_client_redirect_uri,
- label: I18n.t('storages.label_redirect_uri'),
+ label: I18n.t("storages.label_redirect_uri"),
visually_hide_label: false,
value: redirect_uri_or_instructions,
required: true
@@ -20,31 +20,33 @@
input_group.with_trailing_action_clipboard_copy_button(
value: redirect_uri_or_instructions,
aria: {
- label: I18n.t('button_copy_to_clipboard')
+ label: I18n.t("button_copy_to_clipboard")
},
- test_selector: 'storage-oauth-client-redirect-uri'
+ test_selector: "storage-oauth-client-redirect-uri"
)
input_group.with_caption do
- I18n.t('storages.instructions.one_drive.oauth_client_redirect_uri')
+ I18n.t("storages.instructions.one_drive.oauth_client_redirect_uri")
end
end
end
oauth_client_row.with_row do
- render(Storages::Admin::SubmitOrCancelForm.new(
- form,
- storage:,
- submit_button_options: {
- disabled: submit_button_disabled? || @options[:is_complete],
- label: I18n.t(:button_finish_setup),
- data: { turbo: false },
- test_selector: 'storage-oauth-client-submit-button'
- },
- cancel_button_options: {
- href: cancel_button_path
- }
- ))
+ render(
+ Storages::Admin::SubmitOrCancelForm.new(
+ form,
+ storage:,
+ submit_button_options: {
+ disabled: submit_button_disabled? || @options[:is_complete],
+ label: I18n.t(:button_finish_setup),
+ data: { turbo: false },
+ test_selector: "storage-oauth-client-submit-button"
+ },
+ cancel_button_options: {
+ href: cancel_button_path
+ }
+ )
+ )
end
end
end