プラグインハンズオン サンプル » 履歴 » バージョン 1
Haru Iida, 2011/01/22 15:18
1 | 1 | Haru Iida | h1. プラグインハンズオン サンプル |
---|---|---|---|
2 | |||
3 | <pre> |
||
4 | |||
5 | <h2>テンプレートの作成</h2> |
||
6 | |||
7 | |||
8 | <% labelled_tabular_form_for :issue_template, @issue_template, :action => 'update' do |f|%> |
||
9 | <p> |
||
10 | <%= f.text_field :title, :size => 50, :required => true %> |
||
11 | </p> |
||
12 | <p> |
||
13 | <%= f.text_field :note, :size => 80, :label => l(:issue_template_note) %> |
||
14 | </p> |
||
15 | <p><%= f.text_area :description, :rows => 8, :cols=>60, :accesskey => accesskey(:edit), :class => 'wiki-edit' ,:required => true %></p> |
||
16 | <%= submit_tag l(:button_apply) %> |
||
17 | <% end %> |
||
18 | </pre> |