burningpony/phd_checker

View on GitHub
app/views/responses/edit.html.erb

Summary

Maintainability
Test Coverage
<div class="block">
  <div class="secondary-navigation">
    <ul class="wat-cf">
      <li class="first"><%= link_to "#{t("web-app-theme.list", :default => "List")}", responses_path  %></li>
      <li><%= link_to "#{t("web-app-theme.new", :default => "New")}", new_response_path %></li>
      <li class="active"><%= link_to "#{t("web-app-theme.edit", :default => "Edit")}", edit_response_path(@response) %></li>
    </ul>
  </div>
  <div class="content">
    <h2 class="title"><%= t("web-app-theme.edit", :default => "Edit") %> Response</h2>
    <div class="inner">
      <%= form_for @response, :url => response_path(@response), :html => { :class => :form } do |f| -%>
        <%= render :partial => "form", :locals => {:f => f} %>
      <% end -%>
    </div>
  </div>
</div>

<% content_for :sidebar, render(:partial => 'sidebar') -%>