<div class="row">
  <!--  <div class="col-xs-12">
        <label class="checkbox-inline">
            <input type="checkbox" ng-model="url.center" value="true" ng-change="refresh()">
            <translate>urlsharing.center</translate>
        </label>
    </div>
    <div class="col-xs-12">
        <label class="checkbox-inline">
            <input type="checkbox" ng-model="url.zoom" value="true" ng-change="refresh()">
            <translate>urlsharing.zoom</translate>
        </label>
    </div>-->
  <div class="col-xs-12">
    <label class="checkbox-inline">
      <input
        type="checkbox"
        ng-model="url.bbox"
        value="true"
        ng-change="refresh()"
      />
      <translate>urlsharing.bbox</translate>
    </label>
  </div>
  <div class="col-xs-12">
    <label class="checkbox-inline">
      <input
        type="checkbox"
        ng-model="url.layers"
        value="true"
        ng-change="refresh()"
      />
      <translate>urlsharing.layers</translate>
    </label>
  </div>
</div>
<div class="row">
  <div class="col-xs-12">
    <label class="checkbox-inline">
      <input
        type="checkbox"
        ng-model="url.features"
        value="true"
        ng-change="refresh()"
      />
      <translate>urlsharing.components</translate>
    </label>
  </div>
</div>
<div class="row">
  <div class="col-xs-12">
    <h5>
      <translate>urlsharing.url</translate>
    </h5>
  </div>
</div>
<div class="row">
  <div class=" col-xs-12">
    <input id="urlsharingaddress" class="form-control" ng-model="url_adress" />
  </div>
</div>

<div class="row">
  <div class="col-xs-12">
    <h5>
      <translate>urlsharing.options.name</translate>
    </h5>
  </div>
  <div class="col-xs-10">
    <select
      ng-options="o.label as o.name for o in options"
      class="form-control"
      ng-model="option"
    ></select>
  </div>
</div>

<div class="row spbrow" style="position:relative; top:10px;">
  <div class="col-xs-12" ng-show="option=='copier'">
    <button
      class="btn btn-default"
      data-clipboard-target="#urlsharingaddress"
      ng-click="urlcopied()"
    >
      <translate>urlsharing.button.copy</translate>
    </button>
  </div>
  <div class="col-xs-12" ng-show="option=='partager'">
    <!--      <translate>urlsharing.button.select</translate>
        <user_picker res="$parent.res" type="'chekbox'"></user_picker>

         <button type="button" class="btn" ng-click="openMailModal()" ng-disabled="!res"
                 ng-class="{'btn-default':!res,'btn-primary':res}">
             <translate>urlsharing.button.send</translate></button>-->

    <email-writer content-url="url_adress" title="email.title"></email-writer>
  </div>
</div>
