1 <%= f.error_messages %>
2 <p class="req"><span class="pnt">※</span>は必須入力です</p>
3 <table class="data" cellspacing="1" cellpadding="0">
5 <th>日付 <span class="pnt">※</span></th>
7 <%= confirm_tag :calendar_date_select,
8 :new_information,"date",
9 {:start_year => 5.years.ago.year,
10 :end_year => Date.today.year,
11 :use_month_numbers => true} %>
15 <th>タイトル <span class="pnt">※</span></th>
17 <%= confirm_tag :text_field, :new_information, :name, :size=>50, :class=>"data_l" %><br/>
18 <font color="red">(上限200文字)</font>
24 <%= confirm_tag :text_field, :new_information, :url, :size=>50, :class=>"data_l" %><br/>
25 <font color="red">(上限300文字)</font>
30 <% flg = (params[:action] =~ /confirm/ || params[:action] =~ /create/ || params[:action] =~ /update/) && @new_information.errors.empty? %>
32 <td><%= f.check_box :new_window %>別ウィンドウで開く</td>
34 <td><%= new_window(@new_information.new_window) %></td>
40 <%= confirm_tag :text_area, :new_information, :body, :rows=>"6", :cols=>50, :class=>"data_l" %><br />
41 <font color="red">(上限300文字)</font>