Sha256: 1e3b8ced77007db8443513be114229bdcdfb6fb6c4186b3fbd646e9fc4fbafd4

Contents?: true

Size: 1.86 KB

Versions: 3

Compression:

Stored size: 1.86 KB

Contents

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

<%= form_for(@resource_import_file, :html => { :multipart => true }) do |f| -%>
  <%= f.error_messages -%>

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

  <div class="field">
    <%= f.label :edit_mode -%><br />
    <%= f.radio_button :edit_mode, 'create', :checked => 'checked' %>
    <%= f.label :edit_mode, t('page.create'), :value => 'create' %>
    <%= f.radio_button :edit_mode, 'update' %>
    <%= f.label :edit_mode, t('page.update'), :value => 'update' %>
    <%= f.radio_button :edit_mode, 'update_relationship' %>
    <%= f.label :edit_mode, t('resource_import_file.update_relationship'), :value => 'update_relationship' %>
    <%= f.radio_button :edit_mode, 'destroy' %>
    <%= f.label :edit_mode, t('page.destroy'), :value => 'destroy' %>
  </div>

  <div class="field">
    <%= f.label :user_encoding -%><br />
    <%= f.radio_button :user_encoding, 'auto_detect', :checked => 'checked' %>
    <%= f.label :user_encoding, t('import.auto_detect'), :value => 'auto_detect' %>
    <%= f.radio_button :user_encoding, 'utf-8' %>
    <%= f.label :user_encoding, 'UTF-8', :value => 'utf-8' %>
    <%= f.radio_button :user_encoding, 'shift_jis' %>
    <%= f.label :user_encoding, 'Shift_JIS', :value => 'shift_jis' %>
    <%= f.radio_button :user_encoding, 'euc-ho' %>
    <%= f.label :user_encoding, 'EUC-JP', :value => 'euc-jp' %>
  </div>

  <div class="actions">
    <%= f.hidden_field :mode, value: 'import' %>
    <%= f.submit t('page.start_import') %>
  </div>
<%- end -%>

</div>
</div>

<div id="submenu" class="ui-corner-all ui-widget-content">
  <ul>
    <li><%= back_to_index(flash[:page_info]) %></li>
  </ul>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
enju_biblio-0.1.0.pre55 app/views/resource_import_files/new.html.erb
enju_biblio-0.1.0.pre54 app/views/resource_import_files/new.html.erb
enju_biblio-0.1.0.pre53 app/views/resource_import_files/new.html.erb