docbrown/app/views/articles/discussion_lock_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

35 lines
1.7 KiB
Text

<% title(t("views.articles.lock.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.lock.heading") %></h1>
<p class="fs-l mb-4">
<%= t("views.articles.lock.desc_html") %>
</p>
<%= form_for @discussion_lock, method: :post do |f| %>
<div class="crayons-field">
<%= f.hidden_field :article_id, value: @article.id %>
<div class="crayons-field mb-5">
<%= f.label :reason, t("views.articles.lock.reason.label"), class: "crayons-field__label" %>
<%= f.text_field :reason,
placeholder: t("views.articles.lock.reason.placeholder"),
required: false,
class: "crayons-textfield" %>
<div class="crayons-field">
<%= f.label :notes, t("views.articles.lock.notes.label"), class: "crayons-field__label" %>
<%= f.text_field :notes,
placeholder: t("views.articles.lock.notes.placeholder"),
required: false,
class: "crayons-textfield" %>
</div>
</div>
<div>
<%= f.submit t("views.articles.lock.submit"), class: "crayons-btn crayons-btn--danger" %>
<a data-no-instant href="<%= dashboard_path %>" class="crayons-btn crayons-btn--ghost"><%= t("views.articles.lock.cancel") %></a>
</div>
<% end %>
</div>
</main>