Sha256: 1c64a166c6b7844ad7011163114b1ffcfb05c2abd3ceecb8f63f2af3e0271660

Contents?: true

Size: 896 Bytes

Versions: 19

Compression:

Stored size: 896 Bytes

Contents

<%= alchemy_form_for @tag, as: 'tag', url: alchemy.admin_tag_path(@tag), html: {method: 'patch'} do |f| %>
  <%= render_message :info do %>
    <%= _t(:you_can_rename_this_tag) %>
  <% end %>
  <%= f.input :name %>
  <%= f.submit _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 %>
      <%= _t(:or_replace_it_with_an_existing_tag) %>
    <% end %>
    <div class="input tags">
      <label class="control-label"><%= _t('Tags') %></label>
      <div class="control_group" 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>
      </div>
    </div>
    <%= f.submit _t(:replace) %>
  <% end %>
<% end %>

Version data entries

19 entries across 19 versions & 2 rubygems

Version Path
alchemy_cms-3.2.1 app/views/alchemy/admin/tags/edit.html.erb
alchemy_cms-3.1.3 app/views/alchemy/admin/tags/edit.html.erb
lc_alchemy_cms-3.2.1 app/views/alchemy/admin/tags/edit.html.erb
lc_alchemy_cms-3.2.0 app/views/alchemy/admin/tags/edit.html.erb
alchemy_cms-3.2.0 app/views/alchemy/admin/tags/edit.html.erb
alchemy_cms-3.2.0.rc1 app/views/alchemy/admin/tags/edit.html.erb
alchemy_cms-3.2.0.beta app/views/alchemy/admin/tags/edit.html.erb
alchemy_cms-3.1.1 app/views/alchemy/admin/tags/edit.html.erb
alchemy_cms-3.0.4 app/views/alchemy/admin/tags/edit.html.erb
alchemy_cms-3.1.0 app/views/alchemy/admin/tags/edit.html.erb
alchemy_cms-3.1.0.rc3 app/views/alchemy/admin/tags/edit.html.erb
alchemy_cms-3.1.0.rc2 app/views/alchemy/admin/tags/edit.html.erb
alchemy_cms-3.1.0.rc1 app/views/alchemy/admin/tags/edit.html.erb
alchemy_cms-3.1.0.beta6 app/views/alchemy/admin/tags/edit.html.erb
alchemy_cms-3.1.0.beta5 app/views/alchemy/admin/tags/edit.html.erb
alchemy_cms-3.1.0.beta4 app/views/alchemy/admin/tags/edit.html.erb
alchemy_cms-3.0.3 app/views/alchemy/admin/tags/edit.html.erb
alchemy_cms-3.1.0.beta3 app/views/alchemy/admin/tags/edit.html.erb
alchemy_cms-3.1.0.beta2 app/views/alchemy/admin/tags/edit.html.erb