From 734b0be16b40110b9c9d04b94cb231fedef62537 Mon Sep 17 00:00:00 2001
From: Alex Coles
<%= f.text_field :comment, :size => 120 %>
<%= submit_tag l(:button_save) %> +
<%= submit_tag l(:button_save), class: 'button -highlight' %> <% path = send("preview_#{content_type}_path", content.meeting) %> -<%= preview_link path, "#{content_type}_form", { class: 'preview' } %> -<%= link_to l(:button_cancel), "#", :onclick => "$$('.show-#{content_type}').invoke('show'); $$('.edit-#{content_type}').invoke('hide'); return false;" %>
+<%= preview_link path, "#{content_type}_form", { class: 'button preview' } %> +<%= link_to l(:button_cancel), "#", + :onclick => "$$('.show-#{content_type}').invoke('show'); $$('.edit-#{content_type}').invoke('hide'); return false;", + class: 'button' %> <%= wikitoolbar_for "#{content_type}_text" %> <% end %> diff --git a/app/views/meeting_contents/history.html.erb b/app/views/meeting_contents/history.html.erb index e02065584d..759abbb789 100644 --- a/app/views/meeting_contents/history.html.erb +++ b/app/views/meeting_contents/history.html.erb @@ -53,7 +53,7 @@ See doc/COPYRIGHT.md for more details. <% end %> -<%= submit_tag l(:label_view_diff), :class => 'small' if show_diff %> +<%= submit_tag l(:label_view_diff), class: 'button -small -highlight' if show_diff %> <%= pagination_links_full @content_versions %> <% end %> diff --git a/app/views/meetings/edit.html.erb b/app/views/meetings/edit.html.erb index 293b2fc7a5..5c9dd5a6e2 100644 --- a/app/views/meetings/edit.html.erb +++ b/app/views/meetings/edit.html.erb @@ -24,5 +24,7 @@ See doc/COPYRIGHT.md for more details.<%= f.text_field :title, :required => true, :size => 60, :class => "autofocus" %>
<%= f.text_field :location, :size => 60 %>
-<%= f.text_field :start_date, :required => true, :size => 10 %><%= calendar_for('meeting_start_date') %> <%= accessible_time_select "meeting", "start_time", :ignore_date => true, :minute_step => 5 %> <%= Time.zone %>
-<%= f.text_field :duration, :required => true, :size => 5 %>(<%=l :text_in_hours %>) +
+ <%= f.text_field :start_date, :required => true, :size => 10 %> + <%= calendar_for('meeting_start_date') %> + + <%= accessible_time_select "meeting", "start_time", :ignore_date => true, :minute_step => 5 %> + <%= Time.zone %> + +
++ + <%= f.text_field :duration, :required => true, :size => 5 %> + <%=l :text_in_hours %> + +