summaryrefslogtreecommitdiff
path: root/app/views/users/edit.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/users/edit.html.erb')
-rw-r--r--app/views/users/edit.html.erb7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/views/users/edit.html.erb b/app/views/users/edit.html.erb
index 133a69d..edcd33c 100644
--- a/app/views/users/edit.html.erb
+++ b/app/views/users/edit.html.erb
@@ -55,6 +55,13 @@
</td>
</tr>
<tr>
+ <td>Mastodon</td>
+ <td style="display:inline;padding:0px">
+ <%= f.text_field :mastodon, placeholder: "Mastodon username", disabled: !(@user.is?(current_user) && confirmed? || (mod? && current_user.role >= @user.role)), style: "width:49%;float:left;margin-right:2%" %>
+ <%= f.text_field :mastodon_instance, placeholder: "Mastodon instance", disabled: !(@user.is?(current_user) && confirmed? || (mod? && current_user.role >= @user.role)), style: "width:49%" %>
+ </td>
+ </tr>
+ <tr>
<td>YouTube Channel ID</td>
<td>
<%= f.text_field :youtube, placeholder: "YouTube Channel ID", disabled: !can_edit? %>