templates: Remove unnecessary prop-element class.

We use "prop-element" class only to handle save-discard widget
and not anywhere else, so there is no need to have this class
for elements that do not use save-discard widget.
This commit is contained in:
Sahil Batra 2024-05-28 19:32:50 +05:30 committed by Tim Abbott
parent 671547345d
commit 3971c033c3
2 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
<li>
<div class="enter_sends_choices grey-box">
<label class="enter_sends_choice">
<input type="radio" name="enter_sends_choice" class="prop-element" value="true"{{#if enter_sends_true }} checked{{/if}} />
<input type="radio" name="enter_sends_choice" value="true"{{#if enter_sends_true }} checked{{/if}} />
<div class="enter_sends_choice_text">
<span>
{{#tr}}
@ -19,7 +19,7 @@
</div>
</label>
<label class="enter_sends_choice">
<input type="radio" name="enter_sends_choice" class="prop-element" value="false"{{#unless enter_sends_true }} checked{{/unless}} />
<input type="radio" name="enter_sends_choice" value="false"{{#unless enter_sends_true }} checked{{/unless}} />
<div class="enter_sends_choice_text">
<span>
{{#tr}}

View File

@ -3,7 +3,7 @@
<td>{{stream}}</td>
<td>{{topic}}</td>
<td>
<select class="settings_user_topic_visibility_policy prop-element list_select bootstrap-focus-style" data-setting-widget-type="number">
<select class="settings_user_topic_visibility_policy list_select bootstrap-focus-style" data-setting-widget-type="number">
{{#each ../user_topic_visibility_policy_values}}
<option value='{{this.code}}' {{#if (eq this.code ../visibility_policy)}}selected{{/if}}>{{this.description}}</option>
{{/each}}