Guest User

Untitled

a guest
Jul 17th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. {% for key in keys %}
  2. <th>
  3. <div class="card-body">
  4. <label for="{{ key }}">Should We import this column?</label>
  5. <input id="{{ key }}" name="import[]" value="{{ key }}" type="checkbox">
  6. </div>
  7. </th>
  8. {% endfor %}
  9.  
  10. <input id="name" name="import[]" value="name" type="checkbox">
  11. <input id="name" name="import[]" value="email" type="checkbox">
  12. <input id="name" name="import[]" value="category" type="checkbox">
  13.  
  14. # from request.POST array
  15.  
  16. 'import[]' = 'email' # whichever I selected last
  17.  
  18. import = [
  19. 'email',
  20. 'name'
  21. ]
Add Comment
Please, Sign In to add comment