diff --git a/app/views/boards/show.html.erb b/app/views/boards/show.html.erb index 8c270eea7..8d31a0431 100644 --- a/app/views/boards/show.html.erb +++ b/app/views/boards/show.html.erb @@ -9,14 +9,14 @@ -
<%= submit_tag l(:button_create) %> - <%= preview_link(preview_board_message_path(@board), 'message-form') %> | - <%= link_to l(:button_cancel), "#", :onclick => '$("#add-message").hide(); return false;' %>
+<%= submit_tag l(:button_create), :class => "whiteButton m3p10 h30" %> + <%= preview_link(preview_board_message_path(@board), 'message-form' ,target='preview',{:class => 'whiteButton m3p10'} )%> | + <%= link_to l(:button_cancel), "#", :onclick => '$("#add-message").hide(); return false;' ,:class => 'whiteButton m3p10' %>
<% end %> <% end %> diff --git a/app/views/messages/_form.html.erb b/app/views/messages/_form.html.erb index a3b51dfd0..8ca518a72 100644 --- a/app/views/messages/_form.html.erb +++ b/app/views/messages/_form.html.erb @@ -1,10 +1,13 @@ <%= error_messages_for 'message' %> +
-<%= f.text_field :subject, :style => "width:658px;", :id => "message_subject" %>
+<%= f.text_field :subject,:size => 60, :style => "width:490px;", :id => "message_subject" %>
<% unless replying %>
<% if @message.safe_attribute? 'sticky' %>
@@ -23,7 +26,7 @@
<%= label_tag "message_content", l(:description_message_content), :class => "hidden-for-sighted" %> -<%= f.text_area :content, :cols => 80, :rows => 15, :class => 'wiki-edit', :id => 'message_content' %>
+<%= f.text_area :content, :cols => 80, :rows => 13, :class => 'wiki-edit', :id => 'message_content' %> <%= wikitoolbar_for 'message_content' %> diff --git a/app/views/users/_my_course.html.erb b/app/views/users/_my_course.html.erb index ad489a981..3af429e1c 100644 --- a/app/views/users/_my_course.html.erb +++ b/app/views/users/_my_course.html.erb @@ -7,7 +7,7 @@ <% else %>- <%= l(:label_project_course_unadd) %><%= link_to"#{l(:label_course_new)}",{:controller=>'projects',:action=>'new', :course => 1}, :class => 'icon icon-add' %> + <%= l(:label_project_course_unadd) %><%= link_to"#{l(:label_course_new)}",{:controller=>'projects',:action=>'new', :course => 1, :project_type => 1}, :class => 'icon icon-add' %>
<% end %> <% else %>