mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-26 12:30:48 +00:00
Fix a few typos in views and models
This commit is contained in:
parent
f156ed3060
commit
23b545779d
4 changed files with 3 additions and 5 deletions
|
@ -19,7 +19,7 @@ class GatherMap < ActiveRecord::Base
|
|||
|
||||
def to_s
|
||||
self.map.to_s
|
||||
endD
|
||||
end
|
||||
|
||||
def init_variables
|
||||
self.votes = 0
|
||||
|
|
|
@ -10,5 +10,4 @@
|
|||
<%= render partial: "list", locals: { bans: @bans.ineffective } %>
|
||||
|
||||
<%= link_to 'New Ban', new_ban_path, class: 'button' %>
|
||||
</div>
|
||||
|
||||
</div>
|
|
@ -10,7 +10,7 @@
|
|||
</h1>
|
||||
<div class="controls">
|
||||
<% if cuser %>
|
||||
<%= link_to '#', data:{on: :click, call: 'QuoteText',args: "#{comment.id}, 'comments'"} >
|
||||
<%= link_to '#', data:{on: :click, call: 'QuoteText',args: "#{comment.id}, 'comments'"} %>
|
||||
<% if comment.can_update? cuser %>
|
||||
<%= link_to icon('pencil'), edit_comment_path(comment) %>
|
||||
<% end %>
|
||||
|
|
|
@ -69,7 +69,6 @@
|
|||
|
||||
<div class="controls">
|
||||
<% if post.topic.posts.build.can_create? cuser %>
|
||||
<%= # link_to_function 'Quote Reply', "QuoteText(#{post.id}); $('#reply').fadeIn('slow') ", class: 'button tiny' %>
|
||||
<%= link_to '#', data:{on: :click, call: 'QuoteText', args: "#{post.id}"}, class: 'button tiny' %>
|
||||
<% end %>
|
||||
<% if post.can_update? cuser %>
|
||||
|
|
Loading…
Reference in a new issue