Sha256: 08cdafa5992ab1212ba034b48899a44fd657e22a8453e5276c8b3d3b56cd7461
Contents?: true
Size: 812 Bytes
Versions: 1
Compression:
Stored size: 812 Bytes
Contents
%ul.detailed-list.tags{:id => "people-#{subject.id}-tags"} - tags.each do |tag| %li.tag.rounder.deletable= tag %li.tag.new-tag= link_to_function '<i class="icon-plus-sign"></i> Add tag'.html_safe, "$(this).parent().hide(); $('.new-tag-form').show(); $('#new-tag-field').focus();" = form_tag person_new_tag_path(subject), :method => :post, :class => 'new-tag-form form-search', :autocomplete => 'off', :style => 'display:none', :remote=>'true' do = hidden_field_tag :subject_id, subject.id, {:id=>'subject-id-field'} -# = text_field_tag :tag, nil, {:id=>'new-tag-field'} = text_field_tag :tag, "", :id=>"new-tag-field", :class => "typeahead", "data-provide"=>"typeahead", "data-items"=>"5", "data-source"=>"[" + @tags_string.html_safe + "]" = submit_tag "Add Tag", :class => "btn" .tag-error
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
artfully_ose-1.2.0.pre.23 | app/views/shared/_tags.html.haml |