'use strict'; import React from 'react'; import requests from '../../utils/requests'; import ApiUrls from '../../constants/api_urls'; import FormMixin from '../../mixins/form_mixin'; import { getLangText } from '../../utils/lang_utils'; let EditionDeleteForm = React.createClass({ mixins: [FormMixin], url() { return requests.prepareUrl(ApiUrls.edition_delete, {edition_id: this.getBitcoinIds().join()}); }, httpVerb(){ return 'delete'; }, renderForm () { return (
{getLangText('Are you sure you would like to permanently delete this edition')}?
{getLangText('This is an irrevocable action%s', '.')}