Advertisement
VladikOtez

Issue#1 View

May 17th, 2017
1,189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Rails 0.34 KB | None | 0 0
  1. <% if @card %>
  2.     <%= form_with url: review_card_path(card_id: @card.id) do |f| %>
  3.       <%= f.label 'Оригинал:'          %>
  4.       <%= f.label @card.original_text %>  <br>
  5.       <%= f.label 'Перевод:'           %>
  6.       <%= f.text_field :translation   %>
  7.       <%= f.submit 'Проверить'        %>
  8.   <% end %>
  9. <% end %>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement