mirror of
https://github.com/pretix/pretix.git
synced 2026-04-28 00:02:37 +00:00
Widget: add support for html inside pretix-button
This commit is contained in:
committed by
GitHub
parent
6cf8c7d4f0
commit
abbf7bdd69
@@ -1612,7 +1612,7 @@ Vue.component('pretix-button', {
|
||||
+ '<input type="hidden" name="locale" :value="$root.lang" />'
|
||||
+ '<input type="hidden" name="widget_data" :value="$root.widget_data_json" />'
|
||||
+ '<input type="hidden" v-for="item in $root.items" :name="item.item" :value="item.count" />'
|
||||
+ '<button class="pretix-button" @click="buy">{{ $root.button_text }}</button>'
|
||||
+ '<button class="pretix-button" @click="buy" v-html="$root.button_text"></button>'
|
||||
+ '</form>'
|
||||
+ '<div class="pretix-widget-clear"></div>'
|
||||
+ '</div>'
|
||||
|
||||
Reference in New Issue
Block a user