관리-도구
편집 파일: submit-i.yaml
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Generate a submit button Input element, as a String. - !ruby/struct:SM::Flow::P body: <tt>value</tt> is the text to display on the button. <tt>name</tt> is the name of the input. - !ruby/struct:SM::Flow::P body: Alternatively, the attributes can be specified as a hash. - !ruby/struct:SM::Flow::VERB body: " submit\n # <INPUT TYPE="submit">\n\n submit("ok")\n # <INPUT TYPE="submit" VALUE="ok">\n\n submit("ok", "button1")\n # <INPUT TYPE="submit" VALUE="ok" NAME="button1">\n\n submit("VALUE" => "ok", "NAME" => "button1", "ID" => "foo")\n # <INPUT TYPE="submit" VALUE="ok" NAME="button1" ID="foo">\n" full_name: CGI::HtmlExtension#submit is_singleton: false name: submit params: (value = nil, name = nil) visibility: public