30 lines
1.5 KiB
HTML
30 lines
1.5 KiB
HTML
|
<div class="card">
|
|||
|
<div class="card-content">
|
|||
|
<div class="row">
|
|||
|
<span class="card-title">Создай то, о чем будут говорить многие.</span>
|
|||
|
<a class="btn-floating halfway-fab waves-effect waves-light red" href="#post-{{ target_post_id }}"><i class="material-icons">>></i></a>
|
|||
|
<div class="input-field col s6">
|
|||
|
<input id="send_this_text" name="send_this_text" type="text" >
|
|||
|
<label for="send_this_text">Печатать сюда</label>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<div class="card-action">
|
|||
|
<button class="btn waves-effect waves-light"
|
|||
|
type="submit" name="action"
|
|||
|
hx-post="/post_to_another_post/{{ target_post_id }}"
|
|||
|
hx-target="#neu-posts"
|
|||
|
hx-include="[name='send_this_text']"
|
|||
|
>
|
|||
|
Отправить!!
|
|||
|
<i class="material-icons right">send</i>
|
|||
|
</button>
|
|||
|
</div>
|
|||
|
<!-- <h1>Загрузить картинку:</h1>
|
|||
|
<input type="file" #file placeholder="Загрузить картинку" (change)="sendPic($event)" style="display:none;">
|
|||
|
<button type="button" class="btn btn-success" (click)="file.click()">Загрузить картинку</button>
|
|||
|
<div *ngFor="let singlePic of inputImages" >Картинка: {{singlePic}}</div>
|
|||
|
<p>
|
|||
|
<button (click)="eraseData()" >Убрать картинку</button>
|
|||
|
</p> -->
|
|||
|
</div>
|