Created
July 21, 2015 05:25
-
-
Save Luis-Palacios/f8a45e17882d02db4989 to your computer and use it in GitHub Desktop.
Example of snippet for django template
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<CodeSnippet Format="1.1.0" xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet"> | |
<Header> | |
<Title>form</Title> | |
<Author>Microsoft Corporation</Author> | |
<Shortcut>form</Shortcut> | |
<Description>Markup snippet for a HTML form</Description> | |
<SnippetTypes> | |
<SnippetType>Expansion</SnippetType> | |
<SnippetType>SurroundsWith</SnippetType> | |
</SnippetTypes> | |
</Header> | |
<Snippet> | |
<Declarations> | |
<Literal> | |
<ID>action</ID> | |
<ToolTip>Specifies where to send the form-data when a form is submitted</ToolTip> | |
<Default>/</Default> | |
</Literal> | |
<Literal> | |
<ID>method</ID> | |
<ToolTip>Specifies how to send form-data</ToolTip> | |
<Default>post</Default> | |
</Literal> | |
</Declarations> | |
<Code Language="html"><![CDATA[<form action="$action$" method="$method$">$selected$$end$</form>]]></Code> | |
</Snippet> | |
</CodeSnippet> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment