操作
プラグインハンズオン サンプル » 履歴 » リビジョン 2
« 前 |
リビジョン 2/20
(差分)
| 次 »
Haru Iida, 2011/01/22 15:19
プラグインハンズオン サンプル¶
<h2>テンプレートの作成</h2> create.html.erb のサンプル <% labelled_tabular_form_for :issue_template, @issue_template, :action => 'update' do |f|%> <p> <%= f.text_field :title, :size => 50, :required => true %> </p> <p> <%= f.text_field :note, :size => 80, :label => l(:issue_template_note) %> </p> <p><%= f.text_area :description, :rows => 8, :cols=>60, :accesskey => accesskey(:edit), :class => 'wiki-edit' ,:required => true %></p> <%= submit_tag l(:button_apply) %> <% end %>