mirror of
https://github.com/fspc/BikeShed-1.git
synced 2026-09-16 08:31:36 -04:00
BS3: new time entry.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user