Sha256: 122c24ebe1b302674ca6b741c37b6c180984b604afdf5da06f99d1c0ca23803a

Contents?: true

Size: 686 Bytes

Versions: 8

Compression:

Stored size: 686 Bytes

Contents

<%= alchemy_form_for [:admin, @picture] do |f| %>
  <%= f.input :name %>
  <%= render "picture_description_field", f: f %>
  <%= render Alchemy::Admin::TagsAutocomplete.new(additional_class: "input") do %>
    <%= f.label :tag_list %>
    <%= f.text_field :tag_list, value: f.object.tag_list.join(",") %>
    <small class="hint"><%= Alchemy.t('Please seperate the tags with commata') %></small>
  <% end %>
  <%= 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] %>
  <%= f.submit Alchemy.t(:save) %>
<% end %>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
alchemy_cms-7.2.8 app/views/alchemy/admin/pictures/_form.html.erb
alchemy_cms-7.2.7 app/views/alchemy/admin/pictures/_form.html.erb
alchemy_cms-7.2.6 app/views/alchemy/admin/pictures/_form.html.erb
alchemy_cms-7.2.5 app/views/alchemy/admin/pictures/_form.html.erb
alchemy_cms-7.2.4 app/views/alchemy/admin/pictures/_form.html.erb
alchemy_cms-7.2.3 app/views/alchemy/admin/pictures/_form.html.erb
alchemy_cms-7.2.2 app/views/alchemy/admin/pictures/_form.html.erb
alchemy_cms-7.2.1 app/views/alchemy/admin/pictures/_form.html.erb