Sha256: 340de3ce62fcadbf8c2303c2fec86c579fd1645093c058f6731a5a9a438976cf
Contents?: true
Size: 1.17 KB
Versions: 10
Compression:
Stored size: 1.17 KB
Contents
<div class="page-header"> <h1>Add/Remove Tags</h1> </div> <%= form_tag update_account_tags_path, :class => "form-horizontal" do %> <%= hidden_field_tag :account_id, @account.account_id %> <fieldset> <div class="control-group"> <label class="control-label">Account name</label> <div class="controls"> <label class="checkbox"> <%= @account.name %><br/> <%= @account.email %> </label> </div> </div> <div class="control-group"> <%= label_tag :name, "Tag", :class => "control-label" %> <div class="controls"> <% @available_tags.each do |tag| %> <label class="checkbox"> <%= check_box_tag "tags[]", tag.name, @tags.include?(tag.name) %> <span href="#" class="tag-description" rel="tooltip" title="<%= tag.description %>"><%= tag.name %></span> </label> <% end %> </div> </div> <div class="form-actions"> <%= button_tag "Update", :class =>"btn btn-primary" %> <%= link_to 'Back', :back, :class => 'btn' %> </div> </fieldset> <% end %> <%= javascript_tag do %> $(function() { $(".tag-description").tooltip(); }); <% end %>
Version data entries
10 entries across 10 versions & 1 rubygems