Sha256: ba6e7c481d8c1a0724661e3ce3ae5569443ffeedda6399816ec9786fd968e277

Contents?: true

Size: 1.09 KB

Versions: 19

Compression:

Stored size: 1.09 KB

Contents

<%= form_tag update_multiple_admin_pictures_path do %>
  <%= hidden_field_tag :q, search_filter_params[:q] %>
  <%= hidden_field_tag :size, @size %>
  <%= hidden_field_tag :tagged_with, search_filter_params[:tagged_with] %>
  <%= hidden_field_tag :filter, search_filter_params[:filter] %>

  <% @pictures.pluck(:id).each do |id| %>
  <%= hidden_field_tag "picture_ids[]", id %>
  <% end %>

  <%= render_message do %>
    <%= Alchemy.t('You are about to edit many pictures at once') % {length: @pictures.size} %>
  <% end %>

  <div class="input text">
    <%= label_tag :pictures_name, Alchemy.t('Name'), class: 'control-label' %>
    <%= text_field_tag :pictures_name %>
  </div>

  <%= render Alchemy::Admin::TagsAutocomplete.new(additional_class: "input") do %>
    <%= label_tag :pictures_tag_list, Alchemy.t(:tags), class: 'control-label' %>
    <%= text_field_tag :pictures_tag_list, @tags %>
    <small class="hint"><%= Alchemy.t('Please seperate the tags with commata') %></small>
  <% end %>

  <div class="submit">
    <%= button_tag Alchemy.t(:save), name: nil, class: 'button' %>
  </div>
<% end %>

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
alchemy_cms-7.4.2 app/views/alchemy/admin/pictures/edit_multiple.html.erb
alchemy_cms-7.3.6 app/views/alchemy/admin/pictures/edit_multiple.html.erb
alchemy_cms-7.2.9 app/views/alchemy/admin/pictures/edit_multiple.html.erb
alchemy_cms-7.4.1 app/views/alchemy/admin/pictures/edit_multiple.html.erb
alchemy_cms-7.4.0 app/views/alchemy/admin/pictures/edit_multiple.html.erb
alchemy_cms-7.3.5 app/views/alchemy/admin/pictures/edit_multiple.html.erb
alchemy_cms-7.2.8 app/views/alchemy/admin/pictures/edit_multiple.html.erb
alchemy_cms-7.3.4 app/views/alchemy/admin/pictures/edit_multiple.html.erb
alchemy_cms-7.3.3 app/views/alchemy/admin/pictures/edit_multiple.html.erb
alchemy_cms-7.3.2 app/views/alchemy/admin/pictures/edit_multiple.html.erb
alchemy_cms-7.2.7 app/views/alchemy/admin/pictures/edit_multiple.html.erb
alchemy_cms-7.3.1 app/views/alchemy/admin/pictures/edit_multiple.html.erb
alchemy_cms-7.3.0 app/views/alchemy/admin/pictures/edit_multiple.html.erb
alchemy_cms-7.2.6 app/views/alchemy/admin/pictures/edit_multiple.html.erb
alchemy_cms-7.2.5 app/views/alchemy/admin/pictures/edit_multiple.html.erb
alchemy_cms-7.2.4 app/views/alchemy/admin/pictures/edit_multiple.html.erb
alchemy_cms-7.2.3 app/views/alchemy/admin/pictures/edit_multiple.html.erb
alchemy_cms-7.2.2 app/views/alchemy/admin/pictures/edit_multiple.html.erb
alchemy_cms-7.2.1 app/views/alchemy/admin/pictures/edit_multiple.html.erb