Sha256: b62a4319beecd19ae0c421b7208adb00bcb7e1c6eb79360d54d7818c1e86ac86
Contents?: true
Size: 718 Bytes
Versions: 2
Compression:
Stored size: 718 Bytes
Contents
<%= form_for [:admin, @image], :html => { :multipart => true } do |f| %> <%= render "shared/error_messages", :target => @image %> <div> <%= f.label :title, t('images.title'), :class => "desc required" %> <%= f.text_field :title, :size => "80" %> </div> <div> <%= f.label :image, t('images.image_field') %> <%= f.file_field :image %> </div> <div> <%= f.submit t('images.submit') %> <%= link_to t('cancel'), admin_images_path %> </div> <% end %> <% if @image.id %> <%= form_for [:admin, @image], :html => { :method => "delete" } do |f| %> <input type="hidden" name="_method" value="delete" /> <button type="submit"><%= t('images.delete') %></button> <% end %> <% end %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
merrycms-0.1.7 | app/views/admin/images/_form.erb |
merrycms-0.1.4 | app/views/admin/images/_form.erb |