Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 197
- Log:
Extended content area's toggle link was included in the part of the page
that got hidden when toggled off, making extended content inaccesible.
Fixed by dropping the link to a new list item.
- Author:
- rool
- Date:
- Tue Apr 17 21:03:41 +0100 2007
- Size:
- 3207 Bytes
1 | <%= error_messages_for 'article' %> |
2 | <!--[form:articles]--> |
3 | <fieldset class="set admin" style="display: block"> |
4 | <legend><%=_("Article Body")%></legend> |
5 | <iframe id="preview" class="post" style="display: none;"></iframe> |
6 | <div style="width: 48%; float: left;"> |
7 | <ul> |
8 | <li> |
9 | <label for="article_title" class="block">Title:</label> |
10 | <%= text_field 'article', 'title', :style => 'width: 100%;' %> |
11 | </li> |
12 | <li> |
13 | <label for="article_body"><%= _("Article Content")%>:</label> |
14 | <%= markup_help_popup @article.text_filter, image_tag('help.png', :alt => "markup help", :title => "Markup Help") %> |
15 | <%= text_area 'article', 'body', :rows => 25, :style => 'width: 100%;' %> |
16 | </li> |
17 | <li id="extended"<%- if @article.extended.blank? -%> style="display:none;"<%- end -%>> |
18 | <label for="article_extended"><%= _("Extended Content")%>:</label> |
19 | <%= text_area 'article', 'extended', :rows => 30, :style => 'width: 100%;' %> |
20 | </li> |
21 | <li> |
22 | <%= link_to_function "Toggle Extended Content (+/-)",update_page { |page| page.visual_effect(:toggle_blind, "extended", :duration => 0.5) } %> |
23 | </li> |
24 | <li> |
25 | <label for="categories" class="block"><%= _("Categories")%>:</label> |
26 | <select id="categories" name="categories[]" multiple="multiple" size="10" style="width:250px;"> |
27 | <%= options_from_collection_for_select(@categories, "id", "name", @selected) %> |
28 | </select> |
29 | </li> |
30 | <li> |
31 | <label for="article_keywords"><%= _("Tags")%>:</label> |
32 | <%= text_field 'article', 'keywords', :style => 'width: 100%;' %> |
33 | </li> |
34 | </ul> |
35 | <p class="r"><%= save(_("Save")) %> or <%= cancel %></p> |
36 | </div> |
37 | <br style ="clear: both"/> |
38 | </fieldset> |
39 | |
40 | <fieldset class="set admin"> |
41 | <legend><%= _("Article Attachments")%></legend> |
42 | <div id="attachments"> |
43 | <%= render :partial => 'admin/content/attachment', :locals => { :attachment_num => 1, :hidden => false } -%> |
44 | </div> |
45 | </fieldset> |
46 | |
47 | <fieldset class="set admin"> |
48 | <legend><%= _("Article Options")%></legend> |
49 | <ul> |
50 | <li> |
51 | <label for="article_permalink" class="float"><%= _("Permalink")%>:</label> |
52 | <%= text_field 'article', 'permalink' %> |
53 | </li> |
54 | <li class="checkbox"> |
55 | <label for="article_allow_comments" class="float"><%= _("Allow comments") %>: </label> |
56 | <%= check_box 'article', 'allow_comments' %> |
57 | </li> |
58 | <li class="checkbox"> |
59 | <label for="article_allow_pings" class="float"><%= _("Allow trackbacks")%>: </label> |
60 | <%= check_box 'article', 'allow_pings' %> |
61 | </li> |
62 | <li> |
63 | <label for="article_published" class="float"><%= _("Published")%>:</label> |
64 | <%= check_box 'article', 'published' %> |
65 | </li> |
66 | <li> |
67 | <label for="article_published_at" class="float"><%= _("Publish at")%>:</label> |
68 | <%= datetime_select 'article', 'published_at', :include_blank => true %> |
69 | </li> |
70 | <li> |
71 | <label for="article_text_filter" class="float"><%= _("Textfilter")%>: </label> |
72 | <%= select 'article', 'text_filter', text_filter_options %> |
73 | </li> |
74 | </ul> |
75 | </fieldset> |
76 | |
77 | <!--[eoform:articles]--> |