Sha256: 71ec705566e28fc57fff3bd49379f718670d1e8c6e20ceee60c6d9dc654d8192

Contents?: true

Size: 1.55 KB

Versions: 26

Compression:

Stored size: 1.55 KB

Contents

<%= form_tag update_multiple_admin_pictures_path do %>

  <%= hidden_field_tag :query, params[:query] %>
  <%= hidden_field_tag :size, params[:size] %>
  <%= hidden_field_tag :tagged_with, params[:tagged_with] %>
  <%= hidden_field_tag :filter, params[:filter] %>

  <% @pictures.each do |pic| %>
  <%= hidden_field_tag "picture_ids[]", pic.id %>
  <% end %>

  <div class="info">
    <%= render_icon :info %>
    <p><%= _t("You are about to edit %{length} pictures at once") % {:length => @pictures.length} %></p>
  </div>

  <table>
    <tr>
      <td class="label"><%= label_tag :pictures_name, _t('Name') %></td>
      <td class="input">
        <%= text_field_tag :pictures_name, nil, :class => "thin_border long" %>
      </td>
    </tr>
    <tr>
      <td class="label"><%= label_tag :pictures_tag_list, _t('Tags') + '*' %></td>
      <td class="input">
        <div class="autocomplete_tag_list">
          <%= label_tag :tag_list, render_icon(:tag_label), :for => "autocomplete_tag_list", :title => _t(:tag_list) %>
          <%= autocomplete_field_tag(
            :pictures_tag_list,
            @pictures.collect(&:tag_list).flatten.uniq.join(', '),
            alchemy.autocomplete_admin_tags_path,
            :data => {:delimiter => ', '},
            :id => "autocomplete_tag_list"
          ) %>
        </div>
      </td>
    </tr>
    <tr>
      <td class="submit" colspan="2">
        <%= button_tag _t(:save), :name => nil, :class => 'button' %>
      </td>
    </tr>
  </table>

  <p class="foot_note"><%= _t('Please seperate the tags with commata') %></p>

<% end %>

Version data entries

26 entries across 26 versions & 1 rubygems

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