fixed checkbox rendering

This commit is contained in:
2023-05-06 12:14:19 +02:00
parent 1686ee0c9c
commit 50bc840510

View File

@@ -6,7 +6,8 @@
<th><%= l(:baupm_enable_webapp) %></th>
<td>
<input type="checkbox" id="baupm_enable_webapp"
value="<%= settings['baupm_enable_webapp'] %>"
value="1"
<% if settings['baupm_enable_webapp'] == '1' %> checked<% end %>
name="settings[baupm_enable_webapp]">
</td>
</tr>