Title / Description
Code <!-- здесь --> <% u = User.find User.current %> <% unless u.groups.any? { |g| g.id == 35 } %> <% if @issue.safe_attribute? 'assigned_to_id' %> <p><%= f.select :assigned_to_id, principals_options_for_select(@issue.assignable_users, @issue.assigned_to), :include_blank => true, :required => @issue.required_attribute?('assigned_to_id') %></p> <% end %> <% end %>
Author
Highlight as C C++ CSS Clojure Delphi ERb Groovy (beta) HAML HTML JSON Java JavaScript PHP Plain text Python Ruby SQL XML YAML diff code