Sha256: 0a85afa6e3c99b93e8ff6a58b326702f8ff5bee32452be9d41022bbedd111bdf

Contents?: true

Size: 891 Bytes

Versions: 30

Compression:

Stored size: 891 Bytes

Contents

<%= simple_form_for(@answer, :validate => true) do |f| %>
  <%= f.error_notification %>
  <%= f.hidden_field :question_id %>

  <div class="field">
    <%= f.label t('activerecord.models.user') %><br />
    <%= link_to @answer.user.username, @answer.user %>
  </div>

  <div class="field">
    <%= f.label t('activerecord.models.question') %><br />
    <%= link_to @answer.question.body, @answer.question %>
  </div>

  <div class="field">
    <%= f.label :body %><br />
    <%= f.text_area :body, :class => 'resource_textarea' %>
  </div>

  <div class="field">
    <%= f.label :item_identifier_list %><br />
    <%= f.text_area :item_identifier_list, :class => 'resource_textarea' %>
  </div>

  <div class="field">
    <%= f.label :url_list %><br />
    <%= f.text_area :url_list, :class => 'resource_textarea' %>
  </div>

  <div class="actions">
    <%= f.submit %>
  </div>
<%- end %>

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
enju_question-0.1.0.pre11 app/views/answers/_form.html.erb
enju_question-0.1.0.pre10 app/views/answers/_form.html.erb
enju_question-0.1.0.pre9 app/views/answers/_form.html.erb
enju_question-0.1.0.pre8 app/views/answers/_form.html.erb
enju_question-0.1.0.pre7 app/views/answers/_form.html.erb
enju_question-0.1.0.pre6 app/views/answers/_form.html.erb
enju_question-0.1.0.pre5 app/views/answers/_form.html.erb
enju_question-0.1.0.pre4 app/views/answers/_form.html.erb
enju_question-0.1.0.pre3 app/views/answers/_form.html.erb
enju_question-0.1.0.pre2 app/views/answers/_form.html.erb
enju_question-0.1.0.pre app/views/answers/_form.html.erb
enju_question-0.0.21 app/views/answers/_form.html.erb
enju_question-0.0.20 app/views/answers/_form.html.erb
enju_question-0.0.19 app/views/answers/_form.html.erb
enju_question-0.0.18 app/views/answers/_form.html.erb
enju_question-0.0.17 app/views/answers/_form.html.erb
enju_question-0.0.16 app/views/answers/_form.html.erb
enju_question-0.0.15 app/views/answers/_form.html.erb
enju_question-0.0.14 app/views/answers/_form.html.erb
enju_question-0.0.13 app/views/answers/_form.html.erb