mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-25 11:38:49 +01:00
18 lines
846 B
Text
18 lines
846 B
Text
<%
|
|
@initial_context_name = @context.name unless @context.nil?
|
|
@initial_context_name ||= @project.default_context.name unless @project.nil? || @project.default_context.nil?
|
|
@initial_context_name ||= @contexts.first.name unless @contexts.first.nil?
|
|
@initial_project_name = @project.name unless @project.nil?
|
|
reset_tab_index
|
|
-%>
|
|
<div id="todo_new_action_container">
|
|
|
|
<div id="toggle_forms" class="toggle_forms">
|
|
<a title="<%= t('shared.hide_action_form_title') %>" accesskey="n" href="#" id="toggle_action_new"><%= t('shared.hide_form') %></a> |
|
|
<a title="<%= t('shared.toggle_multi_title') %>" accesskey="m" href="#" id="toggle_multi"><%= t('shared.toggle_multi') %></a>
|
|
</div>
|
|
|
|
<%= render :partial => 'todos/new_todo_form', :object => Todo.new %>
|
|
<%= render :partial => 'todos/new_multi_todo_form', :object => Todo.new %>
|
|
|
|
</div>
|