Sha256: 3c499e6b67927e7124e7db5f5507acbf68d47fc96ef4895946f0ebdeb96e300a
Contents?: true
Size: 1.39 KB
Versions: 11
Compression:
Stored size: 1.39 KB
Contents
<%= 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' %> </div> </fieldset> <% end %> <%= javascript_tag do %> $(function() { $('.tag-description').tooltip(); }); <% end %>
Version data entries
11 entries across 11 versions & 1 rubygems