mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-26 23:39:11 -05:00
Clean up submit buttons in /prefs/apps.
This commit is contained in:
@@ -116,7 +116,7 @@
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<input type="submit" value="update app">
|
||||
<button type="submit">${_('update app')}</button>
|
||||
<span class="status"></span>
|
||||
</form>
|
||||
</div>
|
||||
@@ -196,7 +196,11 @@
|
||||
|
||||
<div class="edit-app-form">
|
||||
<button id="create-app-button" class="submit-img">
|
||||
${_("create application")}
|
||||
%if thing.developed_apps:
|
||||
${_('create another app...')}
|
||||
%else:
|
||||
${_('are you a developer? create an app...')}
|
||||
%endif
|
||||
</button>
|
||||
<form method="post" action="/api/updateapp" class="pretty-form" id="create-app"
|
||||
onsubmit="${"return post_form(this, 'updateapp', function(x) {return '%s'})" % _("creating...")}">
|
||||
@@ -232,7 +236,7 @@
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<input type="submit" value="create app">
|
||||
<button type="submit">${_('create app')}</button>
|
||||
<span class="status"></span>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user