File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -13,11 +13,11 @@ def index():
1313 if request.method == ' POST' and ' btn_SetBodyValue' in request.form:
1414 name = request.form[' txt_Name' ]
1515 background_color = request.form[' txt_BackgroundColor' ]
16- font_size = int (request.form[' txt_FontSize' ])
16+ font_size = str (request.form[' txt_FontSize' ])
1717
1818 form = WebForms()
1919
20- form.set_font_size(InputPlace.tag(' form' ), font_size)
20+ form.set_font_size(InputPlace.tag(' form' ), font_size + ' px ' )
2121 form.set_background_color(InputPlace.tag(' form' ), background_color)
2222 form.set_disabled(InputPlace.name(' btn_SetBodyValue' ), True )
2323
@@ -31,7 +31,7 @@ def index():
3131 <html>
3232 <head>
3333 <title>Using WebForms Core</title>
34- <script type="text/javascript" src="/script/web-forms.js"></script>
34+ <script type="text/javascript" src="https://elanat.net /script/web-forms.js"></script>
3535 </head>
3636 <body>
3737 <form method="post" action="/">
You can’t perform that action at this time.
0 commit comments