Sha256: 0e8132b43dddccc92e306da2c3236366f8217a1f105ff49efb83f8893023d591

Contents?: true

Size: 857 Bytes

Versions: 61

Compression:

Stored size: 857 Bytes

Contents

<div id="content_detail" class="ui-corner-all">
<h1 class="title"><%= t('page.new', :model => t('activerecord.models.picture_file')) -%></h1>
<div id="content_list">

<%= form_for(@picture_file, :url => picture_files_path, :html => { :multipart => true, :method => :post }) do |f| -%>
  <% if @picture_file.errors.any? %>
    <div id="error_explanation">
      <ul>
        <li><%= t('picture_file.invalid_file') %></li>
      </ul>
    </div>
  <% end %>

  <%= f.hidden_field :picture_attachable_id -%>
  <%= f.hidden_field :picture_attachable_type -%>

  <div class="field">
    <%= f.label t('page.file') -%><br />
    <%= f.file_field :picture -%>
  </div>

  <div class="actions">
    <%= f.submit %>
  </div>
<%- end -%>
</div>
</div>

<div id="submenu" class="ui-corner-all">
  <ul>
    <li><%= link_to t('page.back'), :back -%></li>
  </ul>
</div>

Version data entries

61 entries across 61 versions & 1 rubygems

Version Path
enju_biblio-0.1.0.pre52 app/views/picture_files/new.html.erb
enju_biblio-0.1.0.pre51 app/views/picture_files/new.html.erb
enju_biblio-0.1.0.pre50 app/views/picture_files/new.html.erb
enju_biblio-0.1.0.pre49 app/views/picture_files/new.html.erb
enju_biblio-0.1.0.pre48 app/views/picture_files/new.html.erb
enju_biblio-0.1.0.pre47 app/views/picture_files/new.html.erb
enju_biblio-0.1.0.pre46 app/views/picture_files/new.html.erb
enju_biblio-0.1.0.pre45 app/views/picture_files/new.html.erb
enju_biblio-0.1.0.pre44 app/views/picture_files/new.html.erb
enju_biblio-0.1.0.pre43 app/views/picture_files/new.html.erb
enju_biblio-0.1.0.pre42 app/views/picture_files/new.html.erb
enju_biblio-0.1.0.pre41 app/views/picture_files/new.html.erb
enju_biblio-0.1.0.pre40 app/views/picture_files/new.html.erb
enju_biblio-0.1.0.pre39 app/views/picture_files/new.html.erb
enju_biblio-0.1.0.pre38 app/views/picture_files/new.html.erb
enju_biblio-0.1.0.pre37 app/views/picture_files/new.html.erb
enju_biblio-0.1.0.pre36 app/views/picture_files/new.html.erb
enju_biblio-0.1.0.pre35 app/views/picture_files/new.html.erb
enju_biblio-0.1.0.pre34 app/views/picture_files/new.html.erb
enju_biblio-0.1.0.pre33 app/views/picture_files/new.html.erb