##// END OF EJS Templates
[#20288] Update the CodeRay Ruby syntax highlight example....
[#20288] Update the CodeRay Ruby syntax highlight example. This commit changes the following: * Remove line numbering from syntax highlight example. * Add span with 'CodeRay' class around the syntax highlight example. * Fix span classes in the syntax highlight example: ** Ruby scanner changed from ':reserved' to ':keyword' with CodeRay 1.0.0. * Remove obsolete line numbering styles. * Fix internal stylesheet to match CodeRay 1.1.0 (preserving r10132's changes). * Sort internal styles and remove superfluous newlines between styles. Contributed by Mischa The Evil. git-svn-id: http://svn.redmine.org/redmine/trunk@14492 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r12398:a525bc8e98f6
r14110:763d5dddde2c
Show More
_new.html.erb
27 lines | 1.2 KiB | text/plain | TextLexer
<h3 class="title"><%= l(:permission_add_issue_watchers) %></h3>
<%= form_tag({:controller => 'watchers',
:action => (watched ? 'create' : 'append'),
:object_type => (watched && watched.class.name.underscore),
:object_id => watched,
:project_id => @project},
:remote => true,
:method => :post,
:id => 'new-watcher-form') do %>
<p><%= label_tag 'user_search', l(:label_user_search) %><%= text_field_tag 'user_search', nil %></p>
<%= javascript_tag "observeSearchfield('user_search', 'users_for_watcher', '#{ escape_javascript url_for(:controller => 'watchers',
:action => 'autocomplete_for_user',
:object_type => (watched && watched.class.name.underscore),
:object_id => watched,
:project_id => @project) }')" %>
<div id="users_for_watcher">
<%= principals_check_box_tags('watcher[user_ids][]', users) %>
</div>
<p class="buttons">
<%= submit_tag l(:button_add), :name => nil, :onclick => "hideModal(this);" %>
<%= submit_tag l(:button_cancel), :name => nil, :onclick => "hideModal(this);", :type => 'button' %>
</p>
<% end %>