Sha256: 96d1ab1bbee2e6e19b93c5d5dbbd601c4f471f53cbb6bb64cbe86f3814d3b303

Contents?: true

Size: 1.49 KB

Versions: 5

Compression:

Stored size: 1.49 KB

Contents

<h2 class="with_padding"><%= alchemy_crm_t(:you_can_rename_this_tag) %></h2>
<%= form_for @tag, :as => :tag, :url => {:controller => :tags, :action => "update", :id => @tag.id}, :html => {:method => :put}, :remote => true do |f| %>
  <table border="0" cellspacing="4" cellpadding="4" style="width: 100%">
    <tr>
      <td class="label medium">
        <%= f.label :name, "Name" %>
      </td>
      <td class="input">
        <%= f.text_field :name, :class => "thin_border long" %>
      </td>
    </tr>
    <tr>
      <td colspan="2" class="submit">
        <%= f.button alchemy_crm_t(:rename), :class => "button" %>
      </td>
    </tr>
  </table>
<% end %>
<% if @tags.any? -%>
<h2 class="with_padding"><%= alchemy_crm_t(:or_replace_it_with_an_existing_tag) %>:</h2>
<%= form_for @tag, :as => :tag, :url => {:controller => :tags, :action => "update", :id => @tag.id, :replace => true}, :html => {:method => :put, :style => "clear: both"}, :remote => true do |f| %>
  <table border="0" cellspacing="4" cellpadding="4" style="width: 100%">
    <tr>
      <td class="label medium">
        <label>Tags</label>
      </td>
      <td class="input">
        <div class="tag_list">
          <%= render :partial => "radio_tag", :collection => @tags, :locals => {:name => "tag"} %>
        </div>
      </td>
    </tr>
    <tr>
      <td colspan="2" style="text-align: right">
        <%= f.button alchemy_crm_t(:replace), :class => "button", :id => "tag_replace_button" %>
      </td>
    </tr>
  </table>
<% end %>
<% end -%>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
alchemy_crm-2.0.5 app/views/alchemy_crm/admin/tags/edit.html.erb
alchemy_crm-2.0.4.1 app/views/alchemy_crm/admin/tags/edit.html.erb
alchemy_crm-2.1.0a app/views/alchemy_crm/admin/tags/edit.html.erb
alchemy_crm-2.0.3 app/views/alchemy_crm/admin/tags/edit.html.erb
alchemy_crm-2.0.2 app/views/alchemy_crm/admin/tags/edit.html.erb