First time here? Check out the FAQ!
1

Where is the template for the tag input field?

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?

maebert's avatar
133
maebert
asked 2011-12-02 08:40:16 -0600
edit flag offensive 0 remove flag close merge delete

Comments

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

Evgeny's avatar Evgeny (2011-12-02 09:05:40 -0600) 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 -0600) edit
add a comment see more comments

1 Answer

0

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?

Evgeny's avatar
13.2k
Evgeny
answered 2011-12-02 09:03:45 -0600
edit flag offensive 0 remove flag delete link

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's avatar maebert (2011-12-07 18:38:36 -0600) edit
add a comment see more comments