17 lines
340 B
Plaintext
17 lines
340 B
Plaintext
|
<h1>New user attribute: <%= @user_attribute.key %></h1>
|
||
|
|
||
|
<% form_for @user_attribute, :url => admin_user_attributes_path do |f| %>
|
||
|
|
||
|
<p>
|
||
|
<%= f.label :key, "Key" %>
|
||
|
<%= f.text_field :key %>
|
||
|
</p>
|
||
|
|
||
|
<%= render :partial => "form", :locals => { :f => f } %>
|
||
|
|
||
|
<p>
|
||
|
<%= f.submit %>
|
||
|
</p>
|
||
|
|
||
|
<% end -%>
|