lib/pakyow/presenter/significant_nodes.rb in pakyow-presenter-1.0.0.rc2 vs lib/pakyow/presenter/significant_nodes.rb in pakyow-presenter-1.0.0.rc3

- old
+ new

@@ -186,11 +186,11 @@ node.is_a?(Oga::XML::Element) && node.attribute(:binding) && node.name == FORM_TAG end def self.decorate(node) node.set_label(:presenter_type, Presenters::Form) - node.set_label(:view_type, Form) + node.set_label(:view_type, Views::Form) end end # @api private class WithinFormNode < SignificantNode @@ -222,10 +222,10 @@ # @api private class MethodOverrideNode < SignificantNode StringDoc.significant :method_override, self def self.significant?(node) - node.is_a?(Oga::XML::Element) && node.name == INPUT_TAG && node.attribute(:name).to_s == "_method" + node.is_a?(Oga::XML::Element) && node.name == INPUT_TAG && node.attribute(:name).to_s == "pw-http-method" end end # @api private class LabelNode < SignificantNode