Sha256: 5bedd45c06be1580abbc9f4642d6c24951d3f390c491bcc82b1ff9b081be35bd

Contents?: true

Size: 883 Bytes

Versions: 8

Compression:

Stored size: 883 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">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

8 entries across 8 versions & 1 rubygems

Version Path
alchemy_cms-3.1.0.beta1 app/views/alchemy/admin/tags/edit.html.erb
alchemy_cms-3.0.2 app/views/alchemy/admin/tags/edit.html.erb
alchemy_cms-3.0.1 app/views/alchemy/admin/tags/edit.html.erb
alchemy_cms-3.0.0 app/views/alchemy/admin/tags/edit.html.erb
alchemy_cms-3.0.0.rc8 app/views/alchemy/admin/tags/edit.html.erb
alchemy_cms-3.0.0.rc7 app/views/alchemy/admin/tags/edit.html.erb
alchemy_cms-3.0.0.rc6 app/views/alchemy/admin/tags/edit.html.erb
alchemy_cms-3.0.0.rc5 app/views/alchemy/admin/tags/edit.html.erb