<%= render partial: 'shared/header', locals: { links: [["ライセンス管理", license_path], ["WiMAX一覧", show_list_WiMAX_path(1)], ["データ編集", '#']]} %>

<%= @good.name.truncate(30) %> データ編集


<%= form_for(@good) do |f| %> <% if @good.errors.any? %>

<%= pluralize(@good.errors.count, "error") %> prohibited this customer from being saved:

<% end %>


<%= f.fields_for :good_histories, @good.good_histories.first do |history_field| %>

契約開始日

<%= history_field.date_field :date %>

情報更新日

<%= history_field.date_field :date2 %>

解約日

<%= history_field.date_field :date3 %>

SSID

<%= history_field.text_field :memo2 %>

password

<%= history_field.text_field :memo3 %>

S/N

<%= history_field.text_field :memo6 %>

IMEI

<%= history_field.text_field :memo7 %>

ICCID

<%= history_field.text_field :memo8 %>

pin解除

<%= history_field.text_field :memo9 %>

機種番号

<%= history_field.text_field :memo1 %>

顧客名

<%= history_field.select :memo4, @customer,{include_blank: true}, class: "mySelect2", style: "width: 90%" %>

詳細

<%= history_field.text_field :memo %>
<% end %>
<%= f.submit "更新", class: "w8-button l-blue small"%>
<% end %>