<%# locals: (context:)  %>

<div class="form-control">
  <label for="context"><%= t('scripts.diff_lines_of_context') %></label>
  <input type="number" min="0" max="10000" size="5" name="context" required value="<%= context %>">
</div>
<div class="form-control">
  <input id="ignore-whitespace" type="checkbox" name="w" value="1" <% if params[:w] == '1' %> checked<% end %>>
  <label for="ignore-whitespace" class="radio-label"><%= t('scripts.diff_ignore_whitespace') %></label>
</div>
<div class="form-control">
  <input id="terser" type="checkbox" name="terser" value="1" <% if params[:terser] == '1' %> checked<% end %>>
  <label for="terser" class="radio-label"><%= t('scripts.diff_terser') %></label>
</div>
