app/cells/lato_view/input/checkbox/views/show.html.erb in lato_view-1.1.4 vs app/cells/lato_view/input/checkbox/views/show.html.erb in lato_view-1.1.5
- old
+ new
@@ -3,13 +3,13 @@
<div class="form-block">
<input type="hidden" name="<%= @name %>" value="0">
<input type="checkbox" class="check <%= @custom_class %>" name="<%= @name %>"
- id="<%= @name %>" value="1" <%= checked_data_input %>
+ id="<%= @name %><%= @unique_id %>" value="1" <%= checked_data_input %>
<%= disabled_data_input %>>
- <label class="label-control" for="<%= @name %>"><%= @label%></label>
+ <label class="label-control" for="<%= @name %><%= @unique_id %>"><%= @label%></label>
</div>
<div class="input-error-message"></div>