We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4ad1f7 commit 44a6c21Copy full SHA for 44a6c21
1 file changed
app/views/site_settings/index.html.erb
@@ -26,7 +26,8 @@
26
<h4><%= setting.name %></h4>
27
<div class="form-caption"><%= setting.description %></div>
28
</td>
29
- <td class="site-setting--value js-setting-value<%= ' nowrap' if setting.text? %>"
+ <% nowrap = setting.boolean? || setting.numeric? %>
30
+ <td class="site-setting--value js-setting-value<%= ' nowrap' if nowrap %>"
31
data-type="<%= setting.value_type %>" data-name="<%= setting.name %>"
32
data-community-id="<%= current_page?(global_settings_path) ? nil : RequestContext.community_id %>">
33
<%= setting.typed %>
0 commit comments