Sha256: 41d8bb390e0524be7760a934e1f58c130a2846cf4ff6ab8f925d64e78772a6ba

Contents?: true

Size: 1.2 KB

Versions: 42

Compression:

Stored size: 1.2 KB

Contents

<div class="page-header">
  <h1>Add/Remove Tags</h1>
</div>
<%= form_tag update_bundle_tags_path, :class => "form-horizontal" do %>
  <%= hidden_field_tag :bundle_id, @bundle.bundle_id %>
  <fieldset>
    <div class="control-group">
      <label class="control-label">Bundle name</label>
      <div class="controls">
        <label class="checkbox">
          <%= link_to @bundle.external_key, Kaui.bundle_home_path.call(@bundle.bundle_id) %><br/>
        </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

42 entries across 42 versions & 1 rubygems

Version Path
kaui-0.6.6 app/views/kaui/bundle_tags/edit.html.erb
kaui-0.6.5 app/views/kaui/bundle_tags/edit.html.erb
kaui-0.6.4 app/views/kaui/bundle_tags/edit.html.erb
kaui-0.6.3 app/views/kaui/bundle_tags/edit.html.erb
kaui-0.6.2 app/views/kaui/bundle_tags/edit.html.erb
kaui-0.6.1 app/views/kaui/bundle_tags/edit.html.erb
kaui-0.6.0 app/views/kaui/bundle_tags/edit.html.erb
kaui-0.5.3 app/views/kaui/bundle_tags/edit.html.erb
kaui-0.5.2 app/views/kaui/bundle_tags/edit.html.erb
kaui-0.5.1 app/views/kaui/bundle_tags/edit.html.erb
kaui-0.5.0 app/views/kaui/bundle_tags/edit.html.erb
kaui-0.4.9 app/views/kaui/bundle_tags/edit.html.erb
kaui-0.4.8 app/views/kaui/bundle_tags/edit.html.erb
kaui-0.4.7 app/views/kaui/bundle_tags/edit.html.erb
kaui-0.4.6 app/views/kaui/bundle_tags/edit.html.erb
kaui-0.4.5 app/views/kaui/bundle_tags/edit.html.erb
kaui-0.4.4 app/views/kaui/bundle_tags/edit.html.erb
kaui-0.4.3 app/views/kaui/bundle_tags/edit.html.erb
kaui-0.4.2 app/views/kaui/bundle_tags/edit.html.erb
kaui-0.4.1 app/views/kaui/bundle_tags/edit.html.erb