lib/yaks/format/html.rb in yaks-html-0.7.5 vs lib/yaks/format/html.rb in yaks-html-0.7.6

- old
+ new

@@ -80,10 +80,10 @@ def render_control(control) form = H[:form] form = form.attr('name', control.name) if control.name form = form.attr('method', control.method) if control.method - form = form.attr('action', control.href) if control.href + form = form.attr('action', control.action) if control.action form = form.attr('enctype', control.media_type) if control.media_type rows = control.fields.map do |field| H[:tr, H[:td, H[:label, {for: field.name}, field.label || '']],