Ver Fonte

Merge pull request #25772 from overleaf/tm-bs5-user-membership

Migrate user_membership/new to BS5

GitOrigin-RevId: 587beb74fd3470669dcfb4336c9be23b3e9a7a26
Thomas há 1 ano atrás
pai
commit
d0c2ce0f8b
1 ficheiros alterados com 6 adições e 6 exclusões
  1. 6 6
      services/web/app/views/user_membership/new.pug

+ 6 - 6
services/web/app/views/user_membership/new.pug

@@ -1,16 +1,16 @@
 extends ../layout-marketing
 
-block vars
-	- bootstrap5PageStatus = 'disabled'
-
 block content
 	main#main-content.content.content-alt
 		.container
 			.row
-				.col-md-10.col-md-offset-1
-					h3 #{entityName} "#{entityId}" does not exists in v2
+				.col-md-10.offset-md-1
+					h3 #{entityName} "#{entityId}" does not exist in v2
 					form(data-ol-regular-form method='post' action='')
 						input(name='_csrf' type='hidden' value=csrfToken)
-						button.btn.btn-primary(type='submit' data-ol-disabled-inflight)
+						button.btn.btn-primary.text-capitalize(
+							type='submit'
+							data-ol-disabled-inflight
+						)
 							span(data-ol-inflight='idle') Create #{entityName} in v2
 							span(hidden data-ol-inflight='pending') #{translate("creating")}…