Sha256: 6d8dd8c02494a533c6c2599f43cf4238aa2bbc01b7d6cb6bdfc4a598ef3e5e6b

Contents?: true

Size: 1.2 KB

Versions: 14

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.external_key) %><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

14 entries across 14 versions & 1 rubygems

Version Path
kaui-0.1.5 app/views/kaui/bundle_tags/edit.html.erb
kaui-0.1.4 app/views/kaui/bundle_tags/edit.html.erb
kaui-0.1.3 app/views/kaui/bundle_tags/edit.html.erb
kaui-0.1.2 app/views/kaui/bundle_tags/edit.html.erb
kaui-0.1.0 app/views/kaui/bundle_tags/edit.html.erb
kaui-0.0.9 app/views/kaui/bundle_tags/edit.html.erb
kaui-0.0.8 app/views/kaui/bundle_tags/edit.html.erb
kaui-0.0.7 app/views/kaui/bundle_tags/edit.html.erb
kaui-0.0.6 app/views/kaui/bundle_tags/edit.html.erb
kaui-0.0.5 app/views/kaui/bundle_tags/edit.html.erb
kaui-0.0.4 app/views/kaui/bundle_tags/edit.html.erb
kaui-0.0.3 app/views/kaui/bundle_tags/edit.html.erb
kaui-0.0.2 app/views/kaui/bundle_tags/edit.html.erb
kaui-0.0.1 app/views/kaui/bundle_tags/edit.html.erb