Added mastodon and mastodon_instance settings to user profiles
This commit is contained in:
@@ -54,6 +54,13 @@
|
||||
<%= f.select :skype_public, [["Staff only", false], ["All users", true]], {}, { disabled: !can_edit? } %>
|
||||
</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>
|
||||
|
||||
Reference in New Issue
Block a user