Sha256: de6bbf1c1dd2822f4874c157ddd8c99c9c0ec83dd7f4502b22734a625a9dd0e1
Contents?: true
Size: 820 Bytes
Versions: 20
Compression:
Stored size: 820 Bytes
Contents
%ul.detailed-list.tags{:id => "people-#{subject.id}-tags"} - tags.each do |tag| %li.tag.deletable.rounder= tag %li.tag.new-tag.rounder= 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
20 entries across 20 versions & 1 rubygems