mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 02:33:37 +08:00
e5824c5d88
- Preserve query param in URL when navigating around - Replace inline warning svg with emoji, which works better across different color schemes
35 lines
887 B
Plaintext
35 lines
887 B
Plaintext
<div class='container safe-mode'>
|
|
<h2><%= t 'safe_mode.title'%></h2>
|
|
<%= form_tag(safe_mode_enter_path) do %>
|
|
<p>
|
|
<%= t 'safe_mode.description' %>
|
|
</p>
|
|
<p>
|
|
<label>
|
|
<%= check_box_tag 'no_themes', true, !flash[:must_select]%>
|
|
<%= t 'safe_mode.no_themes' %>
|
|
</label>
|
|
</p>
|
|
<p>
|
|
<label>
|
|
<%= check_box_tag 'no_unofficial_plugins', true, !flash[:must_select] %>
|
|
<%= t 'safe_mode.no_unofficial_plugins' %>
|
|
</label>
|
|
</p>
|
|
<p>
|
|
<label>
|
|
<%= check_box_tag 'no_plugins', true, !flash[:must_select] %>
|
|
<%= t 'safe_mode.no_plugins' %>
|
|
</label>
|
|
</p>
|
|
<p>
|
|
<%= submit_tag t('safe_mode.enter'), class: 'btn btn-danger' %>
|
|
<%- if flash[:must_select] %>
|
|
<span class='safe-mode-warning'>
|
|
⚠️ <%= t 'safe_mode.must_select' %>
|
|
</span>
|
|
<%- end %>
|
|
</p>
|
|
<% end %>
|
|
</div>
|