Sha256: d183d325a5d6d244b0d241716717befbeab1577773641a11782e91b08b7dac1e
Contents?: true
Size: 1.43 KB
Versions: 4
Compression:
Stored size: 1.43 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'> <%= link_to @account.name, @account %><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 "tag_#{tag.id}", tag.name, @tag_names.include?(tag.name) %> <span href='#' class='tag-description' rel='tooltip' title='<%= tag.description %>'><%= tag.name %></span> </label> <% end %> </div> </div> <div class='control-group'> <%= label_tag :comment, 'Comment', :class => "control-label" %> <div class="controls"> <%= text_area_tag :comment, '', :rows => 3, :class => 'input-xlarge' %> </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
4 entries across 4 versions & 1 rubygems