Skip to content

Commit ba5292c

Browse files
committed
Fix: Explicitly set not block for non block tag
1 parent 241f64d commit ba5292c

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Change Log
22

3+
## 0.1.2
4+
5+
- Fix: Explicitly set not block for non block tag.
6+
37
## 0.1.1
48

59
- Fix unicode by forcing text in a submit button.

formit/templatetags/formit_tags.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ def get_context(self, context, form, attrs):
3939
'show_csrf_token': 'hide_csrf_token' not in flags,
4040
'show_non_field_errors': 'hide_non_field_errors' not in flags,
4141
'show_button': 'hide_button' not in flags,
42+
# Explicitly set not block.
43+
'is_block': False,
44+
'block_content': None,
4245
})
4346
return context
4447

0 commit comments

Comments
 (0)