Sha256: f09945a2dba646a190c704507fb5afdf7b99d3deff5569caadadb81a181771c2

Contents?: true

Size: 926 Bytes

Versions: 31

Compression:

Stored size: 926 Bytes

Contents

<%= alchemy_form_for @tag, as: 'tag', url: alchemy.admin_tag_path(@tag), html: {method: 'patch'} do |f| %>
  <%= render_message :info do %>
    <%= Alchemy.t(:you_can_rename_this_tag) %>
  <% end %>
  <%= f.input :name %>
  <%= f.submit Alchemy.t(:rename) %>
<% end %>
<% if @tags.any? -%>
  <%= alchemy_form_for @tag, as: 'tag', url: alchemy.admin_tag_path(@tag), html: {method: 'patch'} do |f| %>
    <%= render_message :info do %>
      <%= Alchemy.t(:or_replace_it_with_an_existing_tag) %>
    <% end %>
    <div class="input tags">
      <label class="control-label"><%= Alchemy.t('Tags') %></label>
      <div class="control_group" id="tags_tag_list">
        <%= js_filter_field '.tag-list li' %>
        <ul class="tags tag-list">
          <%= render partial: "radio_tag", collection: @tags, locals: {name: "tag"} %>
        </ul>
      </div>
    </div>
    <%= f.submit Alchemy.t(:replace) %>
  <% end %>
<% end %>

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
alchemy_cms-4.0.6 app/views/alchemy/admin/tags/edit.html.erb
alchemy_cms-3.6.7 app/views/alchemy/admin/tags/edit.html.erb
alchemy_cms-3.6.6 app/views/alchemy/admin/tags/edit.html.erb
alchemy_cms-4.0.5 app/views/alchemy/admin/tags/edit.html.erb
alchemy_cms-4.0.4 app/views/alchemy/admin/tags/edit.html.erb
alchemy_cms-4.1.0.rc1 app/views/alchemy/admin/tags/edit.html.erb
alchemy_cms-4.0.3 app/views/alchemy/admin/tags/edit.html.erb
alchemy_cms-3.6.5 app/views/alchemy/admin/tags/edit.html.erb
alchemy_cms-4.0.2 app/views/alchemy/admin/tags/edit.html.erb
alchemy_cms-4.1.0.beta app/views/alchemy/admin/tags/edit.html.erb
alchemy_cms-4.0.1 app/views/alchemy/admin/tags/edit.html.erb
alchemy_cms-3.6.4 app/views/alchemy/admin/tags/edit.html.erb
alchemy_cms-4.0.0 app/views/alchemy/admin/tags/edit.html.erb
alchemy_cms-3.6.3 app/views/alchemy/admin/tags/edit.html.erb
alchemy_cms-3.6.2 app/views/alchemy/admin/tags/edit.html.erb
alchemy_cms-4.0.0.rc2 app/views/alchemy/admin/tags/edit.html.erb
alchemy_cms-4.0.0.rc1 app/views/alchemy/admin/tags/edit.html.erb
alchemy_cms-3.6.1 app/views/alchemy/admin/tags/edit.html.erb
alchemy_cms-4.0.0.beta app/views/alchemy/admin/tags/edit.html.erb
alchemy_cms-3.6.0 app/views/alchemy/admin/tags/edit.html.erb