app/views/responses/_form.html.erb
<div class="group">
<%= f.label :user_id, t("activerecord.attributes.response.user_id", :default => "User"), :class => :label %>
<%= f.text_field :user_id, :class => 'text_field' %>
<span class="description">Ex: a simple text</span>
</div>
<div class="group">
<%= f.label :error, t("activerecord.attributes.response.error", :default => "Error"), :class => :label %>
<%= f.text_field :error, :class => 'text_field' %>
<span class="description">Ex: a simple text</span>
</div>
<div class="group">
<%= f.label :essay, t("activerecord.attributes.response.essay", :default => "Essay"), :class => :label %>
<%= f.text_field :essay, :class => 'text_field' %>
<span class="description">Ex: a simple text</span>
</div>
<div class="group">
<%= f.label :correct, t("activerecord.attributes.response.correct", :default => "Correct"), :class => :label %>
<%= f.check_box :correct, :class => 'check_box' %>
<span class="description">Ex: a simple text</span>
</div>
<div class="group">
<%= f.label :corrected, t("activerecord.attributes.response.corrected", :default => "Corrected"), :class => :label %>
<%= f.text_field :corrected, :class => 'text_field' %>
<span class="description">Ex: a simple text</span>
</div>
<div class="group">
<%= f.label :uncorrected, t("activerecord.attributes.response.uncorrected", :default => "Uncorrected"), :class => :label %>
<%= f.text_field :uncorrected, :class => 'text_field' %>
<span class="description">Ex: a simple text</span>
</div>
<div class="group navform wat-cf">
<button class="button" type="submit">
<%= image_tag("web-app-theme/icons/tick.png", :alt => "#{t("web-app-theme.save", :default => "Save")}") %> <%= t("web-app-theme.save", :default => "Save") %>
</button>
<%= link_to image_tag("web-app-theme/icons/cross.png", :alt => "#{t("web-app-theme.cancel", :default => "Cancel")}") + " " + t("web-app-theme.cancel", :default => "Cancel"), responses_path, :class => "button" %>
</div>