Fix markup
This commit is contained in:
parent
6ffec9a298
commit
1416401753
2 changed files with 2 additions and 3 deletions
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
#notes-list,
|
#notes-list,
|
||||||
#new_notes_list {
|
#new-notes-list {
|
||||||
display:block;
|
display:block;
|
||||||
list-style:none;
|
list-style:none;
|
||||||
margin:0px;
|
margin:0px;
|
||||||
|
|
|
@ -1,11 +1,10 @@
|
||||||
%ul#notes-list
|
%ul#notes-list
|
||||||
%ul#new_notes_list
|
%ul#new-notes-list
|
||||||
.notes-status
|
.notes-status
|
||||||
|
|
||||||
- if can? current_user, :write_note, @project
|
- if can? current_user, :write_note, @project
|
||||||
= render "notes/form"
|
= render "notes/form"
|
||||||
|
|
||||||
|
|
||||||
:javascript
|
:javascript
|
||||||
$(function(){
|
$(function(){
|
||||||
NoteList.init("#{tid}", "#{tt}", "#{project_notes_path(@project)}");
|
NoteList.init("#{tid}", "#{tt}", "#{project_notes_path(@project)}");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue