BS3: new time entry.

This commit is contained in:
Ilya Konanykhin
2016-12-22 21:45:21 +06:00
parent 2dd48c5b65
commit e775c97fd1
6 changed files with 65 additions and 49 deletions
+8
View File
@@ -7,4 +7,12 @@ module ApplicationHelper
end
link_to(name, '#', id: "add_#{association.to_s.singularize}" , class: "add_fields", data: {id: id, fields: fields.gsub("\n", "")})
end
def link_to_dashboard
content_tag :p do
content_tag :a, href: root_path, class: 'btn btn-default', title: 'Back to dashboard' do
content_tag :span, '', class: 'glyphicon glyphicon-home'
end
end
end
end