_form.rhtml
15 lines
| 650 B
| text/html+ruby
|
RhtmlLexer
|
r2 | <%= error_messages_for 'document' %> | ||
|
r19 | <div class="box"> | ||
|
r2 | <!--[form:document]--> | ||
|
r330 | <p><label for="document_category_id"><%=l(:field_category)%></label> | ||
|
r2411 | <%= select('document', 'category_id', Enumeration.document_categories.collect {|c| [c.name, c.id]}) %></p> | ||
|
r330 | |||
|
r19 | <p><label for="document_title"><%=l(:field_title)%> <span class="required">*</span></label> | ||
|
r2 | <%= text_field 'document', 'title', :size => 60 %></p> | ||
|
r19 | <p><label for="document_description"><%=l(:field_description)%></label> | ||
|
r326 | <%= text_area 'document', 'description', :cols => 60, :rows => 15, :class => 'wiki-edit' %></p> | ||
|
r2 | <!--[eoform:document]--> | ||
|
r58 | </div> | ||
|
r545 | <%= wikitoolbar_for 'document_description' %> | ||