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

Version Path
kaui-0.1.0 app/views/kaui/account_tags/edit.html.erb
kaui-0.0.9 app/views/kaui/account_tags/edit.html.erb
kaui-0.0.8 app/views/kaui/account_tags/edit.html.erb
kaui-0.0.7 app/views/kaui/account_tags/edit.html.erb
kaui-0.0.6 app/views/kaui/account_tags/edit.html.erb
kaui-0.0.5 app/views/kaui/account_tags/edit.html.erb
kaui-0.0.4 app/views/kaui/account_tags/edit.html.erb
kaui-0.0.3 app/views/kaui/account_tags/edit.html.erb
kaui-0.0.2 app/views/kaui/account_tags/edit.html.erb
kaui-0.0.1 app/views/kaui/account_tags/edit.html.erb