##// END OF EJS Templates
Fixed 9793 Preview fail for first wiki page of a project...
Fixed 9793 Preview fail for first wiki page of a project git-svn-id: http://redmine.rubyforge.org/svn/trunk@411 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r330:027bf93849e8
r408:18a6b8e1012c
Show More
_form.rhtml
28 lines | 995 B | text/html+ruby | RhtmlLexer
Jean-Philippe Lang
Initial commit...
r2 <%= error_messages_for 'document' %>
Jean-Philippe Lang
tables and forms redesign,...
r19 <div class="box">
Jean-Philippe Lang
Initial commit...
r2 <!--[form:document]-->
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <p><label for="document_category_id"><%=l(:field_category)%></label>
<select name="document[category_id]">
Jean-Philippe Lang
0.3 unstable...
r10 <%= options_from_collection_for_select @categories, "id", "name", @document.category_id %>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 </select></p>
Jean-Philippe Lang
tables and forms redesign,...
r19 <p><label for="document_title"><%=l(:field_title)%> <span class="required">*</span></label>
Jean-Philippe Lang
Initial commit...
r2 <%= text_field 'document', 'title', :size => 60 %></p>
Jean-Philippe Lang
tables and forms redesign,...
r19 <p><label for="document_description"><%=l(:field_description)%></label>
Jean-Philippe Lang
width of all wiki content textareas set to 99.5%...
r326 <%= text_area 'document', 'description', :cols => 60, :rows => 15, :class => 'wiki-edit' %></p>
Jean-Philippe Lang
Initial commit...
r2 <!--[eoform:document]-->
Jean-Philippe Lang
documents views modified...
r58 </div>
Jean-Philippe Lang
settings are now stored in the database (config_custom.rb no more used) and editable through the application in: Admin -> Settings...
r164 <% if Setting.text_formatting == 'textile' %>
Jean-Philippe Lang
documents views modified...
r58 <%= javascript_include_tag 'jstoolbar' %>
<script type="text/javascript">
//<![CDATA[
if (document.getElementById) {
if (document.getElementById('document_description')) {
var commentTb = new jsToolBar(document.getElementById('document_description'));
commentTb.draw();
}
}
//]]>
</script>
<% end %>