lespoupeesrusses/promethee

View on GitHub
app/views/promethee/components/video/_localize.html.erb

Summary

Maintainability
Test Coverage
<script type="text/ng-template" id="promethee/components/video/localize">
  <div ng-show="master.attributes.url.value || frozen_component.attributes.url.value">
    <hr>
    <div class="row js-translation-element">
      <div class="col-md-6">
        <b>URL</b>
        <div class="js-translation-source" data-type="string" ng-bind-html="master.attributes.url.value | htmlSafe"></div>
      </div>
      <div class="col-md-6 js-translation-target">
        <div class="form-group">
          <b>URL</b>
          <input class="form-control" ng-model="component.attributes.url.value" type="text">
        </div>
      </div>
    </div>
  </div>
</script>