mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-27 04:51:14 +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
|
def to_s
|
||||||
self.map.to_s
|
self.map.to_s
|
||||||
endD
|
end
|
||||||
|
|
||||||
def init_variables
|
def init_variables
|
||||||
self.votes = 0
|
self.votes = 0
|
||||||
|
|
|
@ -10,5 +10,4 @@
|
||||||
<%= render partial: "list", locals: { bans: @bans.ineffective } %>
|
<%= render partial: "list", locals: { bans: @bans.ineffective } %>
|
||||||
|
|
||||||
<%= link_to 'New Ban', new_ban_path, class: 'button' %>
|
<%= link_to 'New Ban', new_ban_path, class: 'button' %>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
</h1>
|
</h1>
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
<% if cuser %>
|
<% 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 %>
|
<% if comment.can_update? cuser %>
|
||||||
<%= link_to icon('pencil'), edit_comment_path(comment) %>
|
<%= link_to icon('pencil'), edit_comment_path(comment) %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
|
@ -69,7 +69,6 @@
|
||||||
|
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
<% if post.topic.posts.build.can_create? cuser %>
|
<% 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' %>
|
<%= link_to '#', data:{on: :click, call: 'QuoteText', args: "#{post.id}"}, class: 'button tiny' %>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% if post.can_update? cuser %>
|
<% if post.can_update? cuser %>
|
||||||
|
|
Loading…
Reference in a new issue