Sha256: c872543d8d48a6e77d42c590a4c6af9f297b8f2330f92a43a9ad0948e5358433

Contents?: true

Size: 599 Bytes

Versions: 11

Compression:

Stored size: 599 Bytes

Contents

<%= f.inputs do %>
  <%= f.input :asset, :collection => Smithy::Asset.order(:name) %>
  <%= f.input :alternate_text %>
<% end %>
<%= f.inputs "Linked Image (optional)" do %>
  <%= f.input :link_url %>
<% end %>
<%= f.inputs "Content (optional)" do %>
  <%= f.input :content, as: :markdown %>
<% end %>

<%= f.inputs "Image Sizing (optional)" do %>
  <%= f.input :width %>
  <%= f.input :height %>
  <%= f.input :image_scaling, :as => :select, :collection => Smithy::Image.image_scaling_options %>
<% end %>
<%= f.inputs "HTML Attributes (optional)" do %>
  <%= f.input :html_attributes %>
<% end %>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
smithycms-0.8.1 app/views/smithy/images/_form_fields.html.erb
smithycms-0.7.3 app/views/smithy/images/_form_fields.html.erb
smithycms-0.7.2 app/views/smithy/images/_form_fields.html.erb
smithycms-0.7.1 app/views/smithy/images/_form_fields.html.erb
smithycms-0.7.0 app/views/smithy/images/_form_fields.html.erb
smithycms-0.6.10 app/views/smithy/images/_form_fields.html.erb
smithycms-0.6.9 app/views/smithy/images/_form_fields.html.erb
smithycms-0.6.7 app/views/smithy/images/_form_fields.html.erb
smithycms-0.6.6 app/views/smithy/images/_form_fields.html.erb
smithycms-0.6.5 app/views/smithy/images/_form_fields.html.erb
smithycms-0.6.4 app/views/smithy/images/_form_fields.html.erb