Skip to content

Commit

Permalink
Fix add new element link for his life
Browse files Browse the repository at this point in the history
  • Loading branch information
Yasuhiro Asaka committed Sep 5, 2016
1 parent e46e971 commit 7eb6762
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions doc/resources/css/admin.css
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,11 @@ input.block-url {
font-color: blue;
}

div#biography div#add_new_element_composite {
text-align: center;
margin-top: 30px;
}

div#element_container {
width: 600px;
margin-left: auto;
Expand Down
2 changes: 1 addition & 1 deletion src/state/personal/life.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def init
class AdminLife < Life
VIEW = DaVaz::View::Personal::AdminLife

def admin_add_new_element
def ajax_add_new_element
AdminAddNewBioElement.new(@session, @model)
end
end
Expand Down

0 comments on commit 7eb6762

Please sign in to comment.