Skip to content

Commit

Permalink
#34 older rails syntax support
Browse files Browse the repository at this point in the history
  • Loading branch information
nutso committed Mar 1, 2014
1 parent 862d5aa commit b8a4c26
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/views/recurring_tasks/edit.html.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<h2><%= l(:button_edit) %> <%= @recurring_task.issue.nil? ? l(:label_recurring_task_issue_empty) : link_to(@recurring_task.issue.subj_date, {:controller => 'issues', :action => 'show', :id => @recurring_task.issue.id}) %></h2>

<%= render partial: "form", locals: {next_step: 'update', rt: @recurring_task} %>
<%= render :partial => "form", :locals => {:next_step => 'update', :rt => @recurring_task} %>

<p><%= link_to l(:button_cancel), "#", :onclick => 'Element.hide("add-task")' %></p>
<p><%= delete_button @recurring_task %></p>
2 changes: 1 addition & 1 deletion app/views/recurring_tasks/new.html.erb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<h2><%= l(:label_add_recurring_task) %></h2>
<%= render partial: "form", locals: { next_step: 'create', rt: @recurring_task } %>
<%= render :partial => "form", :locals => { :next_step => 'create', :rt => @recurring_task } %>
<p><%= link_to l(:button_cancel), "#", :onclick => 'Element.hide("add-task")' %></p>

0 comments on commit b8a4c26

Please sign in to comment.