Sha256: 452a577cd7420e7d3e9dc24e623684d7902c3a818f0c763ef50c6d41840ea6ba

Contents?: true

Size: 1.3 KB

Versions: 6

Compression:

Stored size: 1.3 KB

Contents

<%= render partial: "vulgata/shared/breadcrumb", locals: { translation_state: @translation_state, action_name: :translate } %>

<div class="clearfix">
 
  <h2 class="vlg-title pull-left"><%= @translation_state.long_item_name %></h2>

  <%= button_to translation_state_translations_path(translation_state_id: @translation_state.id), method: :patch, params: { stop_translating: true }, class: "btn btn-warning pull-right vlg-left-buffer" do %>
    <span class="glyphicon glyphicon-log-out" aria-hidden="true"></span>
    Stop Translating
  <% end if @state_changed_to_pending %>
  
  <%= render partial: "vulgata/shared/context_button", locals: { item: @translation_state.item } %>
  
  <%= button_tag type: "button", id: "get-suggestions-button", class: "btn btn-default pull-right" do %>
    <span class="glyphicon glyphicon-globe" aria-hidden="true"></span>
    Get suggestions again
  <% end if @should_suggest_translation %>

</div>

<%= form_tag translation_state_translations_path(translation_state_id: @translation_state.id), method: method do %>
  <%= render partial: "vulgata/shared/comparison_with_source", locals: { form: true, proofreading: false } %>
<% end %>

<%= render partial: "revert_state_in_progress" if @state_changed_to_pending %>
<%= render partial: "suggest_translation" if @should_suggest_translation %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
vulgata-0.3.7 app/views/vulgata/translations/_translation_form.html.erb
vulgata-0.3.6 app/views/vulgata/translations/_translation_form.html.erb
vulgata-0.3.5 app/views/vulgata/translations/_translation_form.html.erb
vulgata-0.3.4 app/views/vulgata/translations/_translation_form.html.erb
vulgata-0.3.3 app/views/vulgata/translations/_translation_form.html.erb
vulgata-0.3.1 app/views/vulgata/translations/_translation_form.html.erb