Sha256: 4b29e9abf4479d1b51d973a60ff6e15c280b4c1e276b715efcb4f935618a5bfd
Contents?: true
Size: 834 Bytes
Versions: 9
Compression:
Stored size: 834 Bytes
Contents
.remote = simple_form_for(@task, :html => one_submit_only(:task), :remote => true) do |f| = link_to_close edit_task_path(@task) = hidden_field_tag :view, @view = hidden_field_tag "task[asset_id]", "#{@asset.id if @asset}" = hidden_field_tag "task[asset_type]", "#{@asset.class if @asset}" = render "tasks/top_section", :f => f, :edit => true = render "fields/groups", :f => f, :edit => true .buttonbar = f.submit t :save_task == #{t :or} = link_to_cancel edit_task_path(@task) == #{t :or} #{t :move_to} - [ "ASAP", "Today", "Tomorrow", "This week", "Next week", "Later" ].each do |day| - due_day = "due_#{day.snakecase}" = link_to(t(due_day.to_sym), "#", :onclick => %Q/crm.reschedule_task(#{@task.id}, "#{due_day}")/) = " | " if day != "Later"
Version data entries
9 entries across 9 versions & 1 rubygems