Ask Your Question

Where is the template for the tag input field?

asked 2011-12-02 08:40:16 -0500

maebert's avatar

I'm customising a template and trying to put the tags help text into a tooltip of the tag input field, however in edit_post.html I simply find

{{ post_form.tags }}
<div class="title-desc">
    {{ post_form.tags.help_text }}

Where can I actually edit the HTML of the input field into which tags can be entered?

edit retag flag offensive close merge delete


To answer your question - {{post_form.tags}} is the input field.

Evgeny's avatar Evgeny  ( 2011-12-02 09:05:40 -0500 )edit

I would like to totally invite your to the discussion on how to best organize the skins, there is some background info in the docs to get started and any further questions are welcome.

Evgeny's avatar Evgeny  ( 2011-12-02 09:22:22 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2011-12-02 09:03:45 -0500

Evgeny's avatar

That file is located is skin "common" that should be more or less read only - the reason behind is that we want to be able to change some aspects of the UI while allowing users customize the skins.

For example - all sorts of active controls - we want to be able to extend so that they would still work with the users customized UI's. The only way to do it is to have a reserved skin to hold those bits.

The tag input is tied with javascript and for that reason it was moved to "common", which may or may not have been the right way to do it.

We are close to finishing the default skin and shuffling things between the "default" and the "common", but not quite done yet.

In what way are you going to improve the UI - could you explain a little more?

edit flag offensive delete link more



basically I'm doing a complete rewrite of the template (or rather, have done - it's 80% complete). Reasons are that 1) I need an askbot for a very specific community and 2) I wanted to test some user interaction ideas I had recently. I will open source the skin once I'm happy with all major design choices (having a few days off, guess I can show something after the weekend). Until then, I'd like to nag with a few other templating issues :)

maebert's avatar maebert  ( 2011-12-07 18:38:36 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2011-12-02 08:40:16 -0500

Seen: 255 times

Last updated: Dec 02 '11