app/views/katalyst/content/figures/_figure.html+form.erb in katalyst-content-0.2.0 vs app/views/katalyst/content/figures/_figure.html+form.erb in katalyst-content-0.2.1
- old
+ new
@@ -1,18 +1,12 @@
<%= form_with model: figure, scope: :item, url: path do |form| %>
<%= render "hidden_fields", form: form %>
<%= render "form_errors", form: form %>
- <%= content_editor_image_field item: figure, method: :image do |builder| %>
- <div class="field">
- <%= form.label :image %>
- <div>
- <%= builder.preview class: "image-wrapper" %>
- </div>
- <%= form.file_field :image, **builder.file_input_options %>
- <hint><%= builder.hint_text %></hint>
- </div>
- <% end %>
+ <div class="field">
+ <%= form.label :image %>
+ <%= form.file_field :image %>
+ </div>
<div class="field">
<%= form.label :heading %>
<%= form.text_field :heading %>
</div>