Sha256: 35c34ccb0e2900de3856c52dd4a394e6a77824d1c2d8e719392aacac302c7ead

Contents?: true

Size: 1.5 KB

Versions: 9

Compression:

Stored size: 1.5 KB

Contents

  <tr id="work_<%=@work.id%>" style="border: 1px solid black">
    <td>
	  <% remote_form_for :work, :url => {:action => :update_row, :id => @work.id, :field => :description}, :html => {:id => "work_#{@work.id}_form"} do |f|%>
        <%=f.select :work_account_id, @work_accounts.map {|wa| [wa.name, wa.id]}, {}, :onchange => "new Ajax.Request('/works/update_row/#{@work.id}?field=description', {asynchronous:true, evalScripts:true, parameters:Form.serialize(form)})"%>
      <% end %>
    </td>
    <td>
<!--
      <%=text_field :work, :description, :id => "work_#{@work.id}_description", :size => 16, :class => :task_description%>
-->
		<%=render :partial => 'row_field', :locals => {:field => 'description'} %>
    </span>
    <td align="right">
		<%=render :partial => 'row_field', :locals => {:field => 'started_at_time'} %>
    </td>
    <td align="right">
		<%=render :partial => 'row_field', :locals => {:field => 'completed_at_time'} %>
    </td>
    <td align="right">
      <% remote_form_for :work, :url => {:action => :update_row, :id => @work.id} do |f|%>
      	<%=f.text_field :hours_time, :value => t(@work.hours), :class => 'task_hours'%>
      <% end %>
    </td>
    <td>
      <%=image_detour_to('delete.png', l(:delete), {:controller => 'works', :action => :destroy, :id => @work, :confirm => true}, nil, true)%>
	  <% if @work.task %>
      	<%=image_detour_to('task.png', "#{l :task}: #{@work.task.description}", {:controller => 'tasks', :action => :edit, :id => @work.task.id})%>
	  <% end %>
    </td>
  </tr>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
backlog-0.19.0 app/views/works/_row.rhtml
backlog-0.20.0 app/views/works/_row.rhtml
backlog-0.20.1 app/views/works/_row.rhtml
backlog-0.21.0 app/views/works/_row.rhtml
backlog-0.21.1 app/views/works/_row.rhtml
backlog-0.21.2 app/views/works/_row.rhtml
backlog-0.21.3 app/views/works/_row.rhtml
backlog-0.22.1 app/views/works/_row.rhtml
backlog-0.22.0 app/views/works/_row.rhtml