Sha256: bacd778226c51818dc774f7befd3190d780fd3c736315908b00043f27bea86c1

Contents?: true

Size: 1.22 KB

Versions: 5

Compression:

Stored size: 1.22 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">
        <%= text_field_tag :pictures_tag_list, @pictures.collect(&:tag_list).flatten.uniq.join(', '), :class => "thin_border long" %>
      </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

5 entries across 5 versions & 1 rubygems

Version Path
alchemy_cms-2.3.2 app/views/alchemy/admin/pictures/edit_multiple.html.erb
alchemy_cms-2.3.1 app/views/alchemy/admin/pictures/edit_multiple.html.erb
alchemy_cms-2.4.beta2 app/views/alchemy/admin/pictures/edit_multiple.html.erb
alchemy_cms-2.3.0 app/views/alchemy/admin/pictures/edit_multiple.html.erb
alchemy_cms-2.3.rc5 app/views/alchemy/admin/pictures/edit_multiple.html.erb