Ask Your Question
1

Where is the template for the tag input field?

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

maebert gravatar image

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 }}
</div>

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

edit retag flag offensive close merge delete

Comments

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

Evgeny gravatar imageEvgeny ( 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 gravatar imageEvgeny ( 2011-12-02 09:22:22 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

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

Evgeny gravatar image

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

Comments

Hey,

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 gravatar imagemaebert ( 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

Stats

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

Seen: 108 times

Last updated: Dec 02 '11