Sha256: 57863e1a205fed46298b2dfed2e5c0a3ab80441cabd1a88648576033f4080914

Contents?: true

Size: 1.65 KB

Versions: 59

Compression:

Stored size: 1.65 KB

Contents

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

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

  <div class="field">
    <%= f.label t('page.file') -%><br />
    <%= f.file_field :agent_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, '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-jp' %>
    <%= 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

59 entries across 58 versions & 2 rubygems

Version Path
enju_biblio-0.3.4 app/views/agent_import_files/new.html.erb
enju_biblio-0.3.3 app/views/agent_import_files/new.html.erb
enju_biblio-0.3.2 app/views/agent_import_files/new.html.erb
enju_biblio-0.3.1 app/views/agent_import_files/new.html.erb
enju_biblio-0.3.0 app/views/agent_import_files/new.html.erb
enju_biblio-0.3.0.rc.1 app/views/agent_import_files/new.html.erb
enju_biblio-0.3.0.beta.2 app/views/agent_import_files/new.html.erb
enju_biblio-0.2.5 app/views/agent_import_files/new.html.erb
enju_biblio-0.2.4 app/views/agent_import_files/new.html.erb
enju_biblio-0.2.3 app/views/agent_import_files/new.html.erb
enju_biblio-0.2.2 app/views/agent_import_files/new.html.erb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/enju_biblio-0.2.1/app/views/agent_import_files/new.html.erb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/enju_biblio-0.2.0/app/views/agent_import_files/new.html.erb
enju_biblio-0.2.1 app/views/agent_import_files/new.html.erb
enju_biblio-0.2.0 app/views/agent_import_files/new.html.erb
enju_biblio-0.2.0.beta.4 app/views/agent_import_files/new.html.erb
enju_biblio-0.2.0.beta.3 app/views/agent_import_files/new.html.erb
enju_biblio-0.2.0.beta.2 app/views/agent_import_files/new.html.erb
enju_biblio-0.2.0.beta.1 app/views/agent_import_files/new.html.erb
enju_biblio-0.1.3 app/views/agent_import_files/new.html.erb