@register.simple_tag
def bootstrap_alert(content, alert_type=u'info', dismissable=True):
 return render_alert(content, alert_type, dismissable)

@ register . simple_tag def bootstrap_alert ( content , alert_type = u'info' , dismissable = True ) : return render_alert ( content , alert_type , dismissable )
render an alert **tag name**:: bootstrap_alert **parameters**: content html content of alert alert_type * info * warning * danger * success :default: info dismissable boolean .