#NEWLINE# @ register . simple_tag #NEWLINE# def bootstrap_button( * args , **kwargs ) : #NEWLINE# #INDENT# '\n    Render a button\n\n    **Tag name**::\n\n        bootstrap_button\n\n    **Parameters**:\n\n        content\n            The text to be displayed in the button\n\n        button_type\n            Optional field defining what type of button this is.\n\n            Accepts one of the following values:\n\n                * ``\'submit\'``\n                * ``\'reset\'``\n                * ``\'button\'``\n                * ``\'link\'``\n        icon\n            Name of an icon to render in the button\'s visible content. See bootstrap_icon_ for acceptable values.\n\n        button_class\n            Any extra CSS classes that should be added to the button.\n\n        size\n            Optional field to control the size of the button.\n\n            Accepts one of the following values:\n\n                * ``\'xs\'``\n                * ``\'sm\'``\n                * ``\'small\'``\n                * ``\'md\'``\n                * ``\'medium\'``\n                * ``\'lg\'``\n                * ``\'large\'``\n\n\n        href\n            Render the button as an ``<a>`` element. The ``href`` attribute is set with this value.\n\n        name\n            Value of the ``name`` attribute of the rendered element.\n\n        value\n            Value of the ``value`` attribute of the rendered element.\n\n    **Usage**::\n\n        {% bootstrap_button content %}\n\n    **Example**::\n\n        {% bootstrap_button "Save" button_type="submit" button_class="btn-primary" %}\n    ' #NEWLINE# return render_button ( * args , ** kwargs )