@@ -10,7 +10,7 | |||
|
10 | 10 | <%= text_field 'document', 'title', :size => 60 %></p> |
|
11 | 11 | |
|
12 | 12 | <p><label for="document_description"><%=l(:field_description)%></label> |
|
13 | <%= text_area 'document', 'description', :cols => 60, :rows => 15 %></p> | |
|
13 | <%= text_area 'document', 'description', :cols => 60, :rows => 15, :class => 'wiki-edit' %></p> | |
|
14 | 14 | <!--[eoform:document]--> |
|
15 | 15 | </div> |
|
16 | 16 |
@@ -28,7 +28,7 | |||
|
28 | 28 | </select></p> |
|
29 | 29 | |
|
30 | 30 | <p><label for="notes"><%= l(:field_notes) %></label> |
|
31 | <%= text_area_tag 'notes', @notes, :cols => 60, :rows => 10 %></p> | |
|
31 | <%= text_area_tag 'notes', @notes, :cols => 60, :rows => 10, :class => 'wiki-edit' %></p> | |
|
32 | 32 | |
|
33 | 33 | </div> |
|
34 | 34 |
@@ -19,7 +19,7 | |||
|
19 | 19 | |
|
20 | 20 | <div class="clear"> |
|
21 | 21 | <p><%= f.text_field :subject, :size => 80, :required => true %></p> |
|
22 |
<p><%= f.text_area :description, :cols => 60, :rows => [[10, @issue.description.length / 50].max, 100].min, : |
|
|
22 | <p><%= f.text_area :description, :required => true, :cols => 60, :rows => [[10, @issue.description.length / 50].max, 100].min, :class => 'wiki-edit' %></p> | |
|
23 | 23 | |
|
24 | 24 | <% for @custom_value in @custom_values %> |
|
25 | 25 | <p><%= custom_field_tag_with_label @custom_value %></p> |
@@ -104,7 +104,7 end %> | |||
|
104 | 104 | <h3><%= l(:label_add_note) %></h3> |
|
105 | 105 | <% form_tag ({:controller => 'issues', :action => 'add_note', :id => @issue}, :class => "tabular" ) do %> |
|
106 | 106 | <p><label for="notes"><%=l(:field_notes)%></label> |
|
107 | <%= text_area_tag 'notes', '', :cols => 60, :rows => 10 %></p> | |
|
107 | <%= text_area_tag 'notes', '', :cols => 60, :rows => 10, :class => 'wiki-edit' %></p> | |
|
108 | 108 | <%= submit_tag l(:button_add) %> |
|
109 | 109 | <% end %> |
|
110 | 110 | </div> |
@@ -2,7 +2,7 | |||
|
2 | 2 | <div class="box"> |
|
3 | 3 | <p><%= f.text_field :title, :required => true, :size => 60 %></p> |
|
4 | 4 | <p><%= f.text_area :summary, :cols => 60, :rows => 2 %></p> |
|
5 | <p><%= f.text_area :description, :required => true, :cols => 60, :rows => 15 %></p> | |
|
5 | <p><%= f.text_area :description, :required => true, :cols => 60, :rows => 15, :class => 'wiki-edit' %></p> | |
|
6 | 6 | </div> |
|
7 | 7 | |
|
8 | 8 | <% if Setting.text_formatting == 'textile' %> |
@@ -19,7 +19,7 | |||
|
19 | 19 | |
|
20 | 20 | <div class="clear"> |
|
21 | 21 | <p><%= f.text_field :subject, :size => 80, :required => true %></p> |
|
22 | <p><%= f.text_area :description, :cols => 60, :rows => 10, :required => true %></p> | |
|
22 | <p><%= f.text_area :description, :cols => 60, :rows => 10, :required => true, :class => 'wiki-edit' %></p> | |
|
23 | 23 | |
|
24 | 24 | <% for @custom_value in @custom_values %> |
|
25 | 25 | <p><%= custom_field_tag_with_label @custom_value %></p> |
@@ -11,7 +11,7 | |||
|
11 | 11 | <%= link_to l(:label_help), {:controller => 'help', :ctrl => 'wiki', :page => 'syntax' }, |
|
12 | 12 | :onclick => "window.open('#{ url_for :controller => 'help', :ctrl => 'wiki', :page => 'syntax' }', '', 'resizable=yes, location=no, width=300, height=500, menubar=no, status=no, scrollbars=yes'); return false;" %> |
|
13 | 13 | </div> |
|
14 |
<p><%= f.text_area :text, :cols => 100, :rows => 25, : |
|
|
14 | <p><%= f.text_area :text, :cols => 100, :rows => 25, :class => 'wiki-edit' %></p> | |
|
15 | 15 | <p><label><%= l(:field_comment) %></label><br /><%= f.text_field :comment, :size => 120 %></p> |
|
16 | 16 | <p><%= submit_tag l(:button_save) %> |
|
17 | 17 | <%= link_to_remote l(:label_preview), |
@@ -237,6 +237,7 blockquote {padding-left: 6px; border-left: 2px solid #ccc;} | |||
|
237 | 237 | input, select {vertical-align: middle; margin-bottom: 4px;} |
|
238 | 238 | |
|
239 | 239 | input.button-small {font-size: 0.8em;} |
|
240 | textarea.wiki-edit { width: 99.5%; } | |
|
240 | 241 | .select-small {font-size: 0.8em;} |
|
241 | 242 | label {font-weight: bold; font-size: 1em; color: #505050;} |
|
242 | 243 | fieldset {border:1px solid #c0c0c0; padding: 6px;} |
General Comments 0
You need to be logged in to leave comments.
Login now