Mercurial > hg > soundsoftware-site
changeset 728:cc4d3d842171 feature_14
added project tag form partial.
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Thu, 27 Oct 2011 14:19:43 +0100 |
parents | e3e958595e07 |
children | 291c4d7dc0b6 |
files | vendor/plugins/redmine_tags/app/views/projects/_tags_form.html.erb |
diffstat | 1 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vendor/plugins/redmine_tags/app/views/projects/_tags_form.html.erb Thu Oct 27 14:19:43 2011 +0100 @@ -0,0 +1,8 @@ +<% fields_for :project, project, :builder => TabularFormBuilder do |f| -%> +<div> + <p id="project_tags"><%= f.text_field :tag_list, :label => :tags, :size => 60, :class => 'hol' %></p> + <div id="project_tag_candidates" class="autocomplete"></div> + <%= javascript_include_tag 'tags_input', :plugin => 'redmine_tags' %> + <%= javascript_tag "observeProjectTagsField('#{url_for(:controller => 'auto_completes', :action => 'project_tags', :project_id => project)}')" %> +</div> +<% end -%> \ No newline at end of file