<%= javascript_include_tag 'index', plugin: "redmine_wktime" %>
<%= stylesheet_link_tag 'wk-time', plugin: "redmine_wktime" %>

<script type="text/javascript">
    crmleadsUrl = '<%=url_for(controller: "wklead", tab: "wklead")%>';
	blgaccUrl = '<%=url_for(controller: "wkcrmaccount", tab: "wkcrmaccount")%>';
    crmopportunityUrl = '<%=url_for(controller: "wkopportunity", tab: "wkopportunity")%>';
	crmactivityUrl = '<%=url_for(controller: "wkcrmactivity", tab: "wkcrmactivity")%>';
	crmcontactUrl = '<%=url_for(controller: "wkcrmcontact", tab: "wkcrmcontact")%>';
	salesquoteUrl = '<%=url_for(controller: "wksalesquote", tab: "wksalesquote")%>';
    prevTab = 'tab-<%= "#{controller_name}" %>';
</script>

<%= render_tabs time_expense_tabs %>
<%= hidden_field_tag 'back_url', url_for(controller: params[:controller], action: params[:action]) %>
