docbrown/app/views/articles/discussion_unlock_confirm.html.erb
Rajat Talesra 497f494ef3
Removed nav related classes from feedback tabs (#18924)
* Removed bootstrap from listing_categories, listings, navigation_links

* Removed not-used bootstrap classes from admin/tags

* Removed bootstrap from admin/settings

* Fix collapse glitch in profile-fields

* Feedback partial progress

* Feedback partial progress

* Removed form-control

* Replaced card with crayons-card

* Fixed profile field UI

* Removed collapse hide and show classes

* Removed collapse hide and show classes

* Removed collapse hide and show classes

* Nit height fix

* Nit width fix

* Updated tests

* Removed nav related classes from feedback tabs

* Remove btn-classes from commets too.

* Removed row and col-12 classes

* Removed bootstrap classes from Authentication

* Removed bootstrap classes from Mascot

* Removed bootstrap classes from Onboarding

* Removed bootstrap classes from lock/unlock discussions

* Notes design changes

* Removed bootstrap classes from Organization

* Removed bootstrap classes from Organization

* Remove alert bootstrap class from admin.html.erb

* Fixed tab_pane related code

* Enable click listener on notice

* Enable click listener on notice

* Applied suggested changes

* close bootstrap class removed

* Removed element completely
2023-01-09 20:18:28 +05:30

38 lines
1.3 KiB
Text

<% title(t("views.articles.unlock.meta.title")) %>
<main id="main-content" class="crayons-layout crayons-layout--limited-l gap-0">
<div class="crayons-card crayons-card--secondary text-styles text-styles--secondary text-padding -mb-1 mx-3 m:mx-6 mt-3">
<%= @article.title %>
</div>
<div class="crayons-card text-padding">
<h1 class="crayons-subtitle-1 mb-2"><%= t("views.articles.unlock.heading") %></h1>
<p class="fs-l mb-4">
<%= t("views.articles.unlock.desc") %>
</p>
<div class="fs-l mb-5">
<div class="fw-bold">
<%= t("views.articles.unlock.reason") %>
</div>
<em>
<%= @discussion_lock.reason %>
</em>
</div>
<div class="fs-l mb-5">
<div class="fw-bold">
<%= t("views.articles.unlock.notes") %>
</div>
<em>
<%= @discussion_lock.notes %>
</em>
</div>
<%= form_for @discussion_lock, method: :delete do |f| %>
<div class="crayons-field">
<%= f.hidden_field :article_id, value: @article.id %>
</div>
<%= f.submit t("views.articles.unlock.submit"), class: "crayons-btn crayons-btn--danger" %>
<a data-no-instant href="<%= dashboard_path %>" class="crayons-btn crayons-btn--ghost"><%= t("views.articles.unlock.cancel") %></a>
<% end %>
</div>
</main>