##// END OF EJS Templates
misc GUI changes on roles views...
misc GUI changes on roles views git-svn-id: http://redmine.rubyforge.org/svn/trunk@120 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r65:96f83cc8f0f0
r117:1f3380bfadb9
Show More
_form.rhtml
19 lines | 605 B | text/html+ruby | RhtmlLexer
<%= error_messages_for 'news' %>
<div class="box">
<p><%= f.text_field :title, :required => true, :size => 60 %></p>
<p><%= f.text_area :summary, :cols => 60, :rows => 2 %></p>
<p><%= f.text_area :description, :required => true, :cols => 60, :rows => 15 %></p>
</div>
<% unless $RDM_TEXTILE_DISABLED %>
<%= javascript_include_tag 'jstoolbar' %>
<script type="text/javascript">
//<![CDATA[
if (document.getElementById) {
if (document.getElementById('news_description')) {
var commentTb = new jsToolBar(document.getElementById('news_description'));
commentTb.draw();
}
}
//]]>
</script>
<% end %>