Sha256: ddc2cffea4cffe2193a06bfa8562b62d1d8c20b6ff03ed3841be81b41b4841f5

Contents?: true

Size: 534 Bytes

Versions: 2

Compression:

Stored size: 534 Bytes

Contents

<h1> Edit Answer </h1>

<%= form_for @answer, :url => [:survey_admin, @answer.question, @answer] do |f| %>
  <%=  render :partial => 'form', :locals => {:f => f},
                                  :html   => {:class => '', :multipart => true}  %>
  <div class="actions"><%= f.submit 'Update' , :class => 'button' %></div>
<% end %>

<p>
  <%= link_to "Show", [:survey_admin, @answer.question, @answer], :class => 'button' %> |
  <%= link_to "View All", survey_admin_question_answers_path(@answer.question), :class => 'button' %>
</p>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
survey_says-0.0.2 app/views/survey_admin/answers/edit.html.erb
survey_says-0.0.1 app/views/survey_admin/answers/edit.html.erb