app/views/wallaby/resources/form/_json.html.erb in wallaby-5.1.4 vs app/views/wallaby/resources/form/_json.html.erb in wallaby-5.1.5

- old
+ new

@@ -10,9 +10,10 @@ <% form_value = value.is_a?(String) ? value : (JSON.pretty_generate(value) rescue nil) %> <div class="form-group <%= form.error_class field_name %>"> <%= form.label field_name, metadata[:label] %> <%= form.text_area field_name, value: form_value, class: 'form-control', data: { init: 'codemirror', mode: 'javascript' } %> <%= form.error_messages field_name %> + <%= hint_of metadata %> </div> <% unless @codemirror_init %> <% @codemirror_init = true %> <% content_for :custom_javascript do %>