Sha256: 1b4c7056253fab7730c5ec0d8ba6116360dccfb6798bf739d36a7264bd837e90

Contents?: true

Size: 1.53 KB

Versions: 17

Compression:

Stored size: 1.53 KB

Contents

<h2 class="with_padding"><%= _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">
        <%= 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 _t(:rename), :class => "button" %>
      </td>
    </tr>
  </table>
<% end %>
<% if @tags.any? -%>
  <h2 class="with_padding"><%= _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">
          <label>Tags</label>
        </td>
        <td class="input" id="tags_tag_list">
          <%= js_filter_field '#tag_list li' %>
          <ul id="tag_list" class="tags">
            <%= render :partial => "radio_tag", :collection => @tags, :locals => {:name => "tag"} %>
          </ul>
        </td>
      </tr>
      <tr>
        <td colspan="2" class="submit">
          <%= f.button _t(:replace), :class => "button", :id => "tag_replace_button" %>
        </td>
      </tr>
    </table>
  <% end %>
<% end %>

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
alchemy_cms-2.9.1 app/views/alchemy/admin/tags/edit.html.erb
alchemy_cms-2.9.0 app/views/alchemy/admin/tags/edit.html.erb
alchemy_cms-2.8.3 app/views/alchemy/admin/tags/edit.html.erb
alchemy_cms-2.7.5 app/views/alchemy/admin/tags/edit.html.erb
alchemy_cms-2.6.3 app/views/alchemy/admin/tags/edit.html.erb
alchemy_cms-2.7.4 app/views/alchemy/admin/tags/edit.html.erb
alchemy_cms-2.8.2 app/views/alchemy/admin/tags/edit.html.erb
alchemy_cms-2.8.1 app/views/alchemy/admin/tags/edit.html.erb
alchemy_cms-2.7.3 app/views/alchemy/admin/tags/edit.html.erb
alchemy_cms-2.7.2 app/views/alchemy/admin/tags/edit.html.erb
alchemy_cms-2.7.1 app/views/alchemy/admin/tags/edit.html.erb
alchemy_cms-2.7.0 app/views/alchemy/admin/tags/edit.html.erb
alchemy_cms-2.6.2.1 app/views/alchemy/admin/tags/edit.html.erb
alchemy_cms-2.6.2 app/views/alchemy/admin/tags/edit.html.erb
alchemy_cms-2.6.1 app/views/alchemy/admin/tags/edit.html.erb
alchemy_cms-2.6.0 app/views/alchemy/admin/tags/edit.html.erb
alchemy_cms-2.6.0.rc5 app/views/alchemy/admin/tags/edit.html.erb