Skip to content

Instantly share code, notes, and snippets.

@Hardtack
Created April 14, 2013 03:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Hardtack/5381368 to your computer and use it in GitHub Desktop.
Save Hardtack/5381368 to your computer and use it in GitHub Desktop.
NameError: global name 'l_form' is not defined
NameError: global name 'l_dict' is not defined
{% block body %}
{{ super() }}
{%- formfill form.form -%}
<form action="{{ url_for('user.view', _method='POST') }}"
class="form-join"
method="POST"
enctype="multipart/form-data">
<h2>Join Lineclipper</h2>
<input type="text" name="username" class="input-block-level"
placeholder="Username" />
<input type="text" name="fullname" class="input-block-level"
placeholder="Fullname" />
<input type="password" name="password" class="input-block-level"
placeholder="Password" />
<input type="password" name="confirm" class="input-block-level"
placeholder="Password Confirm" />
<label for="photo">Profile photo</label>
<input type="file" name="photo" class="input-block-level" />
<button type="submit" class="btn btn-large btn-primary">JOIN</button>
</form>
{%- endformfill -%}
{% endblock body %}
{% block body %}
{{ super() }}
{{ form }}
{%- formfill form.form -%}
<form action="{{ url_for('user.view', _method='POST') }}"
class="form-join"
method="POST"
enctype="multipart/form-data">
<h2>Join Lineclipper</h2>
<input type="text" name="username" class="input-block-level"
placeholder="Username" />
<input type="text" name="fullname" class="input-block-level"
placeholder="Fullname" />
<input type="password" name="password" class="input-block-level"
placeholder="Password" />
<input type="password" name="confirm" class="input-block-level"
placeholder="Password Confirm" />
<label for="photo">Profile photo</label>
<input type="file" name="photo" class="input-block-level" />
<button type="submit" class="btn btn-large btn-primary">JOIN</button>
</form>
{%- endformfill -%}
{% endblock body %}
{% block body %}
{{ super() }}
{%- formfill dict(form.form) -%}
<form action="{{ url_for('user.view', _method='POST') }}"
class="form-join"
method="POST"
enctype="multipart/form-data">
<h2>Join Lineclipper</h2>
<input type="text" name="username" class="input-block-level"
placeholder="Username" />
<input type="text" name="fullname" class="input-block-level"
placeholder="Fullname" />
<input type="password" name="password" class="input-block-level"
placeholder="Password" />
<input type="password" name="confirm" class="input-block-level"
placeholder="Password Confirm" />
<label for="photo">Profile photo</label>
<input type="file" name="photo" class="input-block-level" />
<button type="submit" class="btn btn-large btn-primary">JOIN</button>
</form>
{%- endformfill -%}
{% endblock body %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment