Commit 6dd87e39 authored by buttle's avatar buttle

Upgraded Formbuilder to v3.4.2

parent ad809e0b
......@@ -32,7 +32,7 @@ babel = Babel(app)
csrf = CSRFProtect()
csrf.init_app(app)
app.config['APP_VERSION'] = 38
app.config['APP_VERSION'] = 39
app.config['SCHEMA_VERSION'] = 13
app.config['RESERVED_SLUGS'] = ['login', 'static', 'admin', 'admins', 'user', 'users',
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -179,7 +179,7 @@
{% if form.editors[g.current_user.id|string] is defined %}
<hr />
<div id="embed_snippet" style="display:none">
<pre><code>{{'<iframe width="500" height="600" src="'}}{{form.embed_url}}{{'"></iframe>'}}</code></pre>
<pre><code>{{'<iframe width="500" height="600" frameborder="0" src="'}}{{form.embed_url}}{{'"></iframe>'}}</code></pre>
</div>
<input class="btn-primary btn btn-sm" type="button" value="{%trans%}Edit form{%endtrans%}" onClick="location.href='/forms/edit/{{ form.id }}'">
<input class="btn-primary btn btn-sm" type="button" value="{%trans%}Embed form{%endtrans%}" onClick="js:$('#embed_snippet').show();">
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment