Sha256: aa4cdd261bbf60c6cbff499490ea8797a585c532fda55a81f8fd7c9020b60c78
Contents?: true
Size: 668 Bytes
Versions: 3
Compression:
Stored size: 668 Bytes
Contents
%table{:class => "#{collection.first.class.to_s.downcase} detail"} - resource.attributes.each_pair do |attr, value| - next if ['id', 'created_at', 'updated_at', 'client_id', 'project_state_id'].include?(attr) %tr %td= attr.titleize %td= value %tr %td= t_model(ProjectState) %td= @project.project_state %tr %td= t_model(Company) %td= @project.client %table.list %tr - [:person, :when, :duration].each do |attr| %th= t_attr(attr, Task) - @project.tasks.each do |task| %tr %td= task.person %td= task.when %td= task.duration = link_to t_title(:new, Task), new_project_task_path(resource)
Version data entries
3 entries across 3 versions & 1 rubygems