mirror of
https://github.com/friendica/friendica
synced 2024-12-23 00:00:21 +00:00
Add support for specific confirm value in confirm.tpl
- button tags allow for a different value from the label
This commit is contained in:
parent
3068cb5788
commit
06b8f93eae
2 changed files with 3 additions and 3 deletions
|
@ -4,8 +4,8 @@
|
|||
|
||||
<h3 id="confirm-message">{{$message}}</h3>
|
||||
|
||||
<input class="confirm-button" id="confirm-submit-button" type="submit" name="{{$confirm_name}}" value="{{$confirm}}" />
|
||||
<input class="confirm-button" id="confirm-cancel-button" type="submit" name="canceled" value="{{$cancel}}" />
|
||||
<button class="confirm-button" id="confirm-submit-button" type="submit" name="{{$confirm_name}}" value="{{$confirm_value}}">{{$confirm}}</button>
|
||||
<button class="confirm-button" id="confirm-cancel-button" type="submit" name="canceled" value="{{$cancel}}">{{$cancel}}</button>
|
||||
|
||||
</form>
|
||||
</center>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<div id="confirm-message">{{$message}}</div>
|
||||
|
||||
<div class="form-group pull-right settings-submit-wrapper">
|
||||
<button type="submit" name="{{$confirm_name}}" id="confirm-submit-button" class="btn btn-primary confirm-button" value="{{$confirm}}">{{$confirm}}</button>
|
||||
<button type="submit" name="{{$confirm_name}}" id="confirm-submit-button" class="btn btn-primary confirm-button" value="{{$confirm_value}}">{{$confirm}}</button>
|
||||
<button type="submit" name="canceled" id="confirm-cancel-button" class="btn confirm-button" data-dismiss="modal">{{$cancel}}</button>
|
||||
</div>
|
||||
</form>
|
||||
|
|
Loading…
Reference in a new issue