<% content_for :page_heading do %>

<%= t('.general_settings') %>

<% end %> <%= form_tag action: 'update' do %>
<%= t('.your_blog') %>
<%= text_field(:setting, :blog_name, class: 'form-control', size: this_blog.blog_name.length) %>
<%= text_field(:setting, :blog_subtitle, class: 'form-control', size: this_blog.blog_subtitle.length) %>
<%= text_field(:setting, :base_url, size: this_blog.base_url.length, class: 'form-control') %>
<%= t('.explain_allow_users_to_register_html') %>
<%= text_field(:setting, :email_from, class: 'form-control') %> <%= t('.email_address_used_to_notify') %>
<%= text_field(:setting, :admin_display_elements, size: 4, class: 'form-control') %>
<%= hidden_field_tag 'from', 'index' %>

<%= link_to(t('.cancel'), action: 'index') %> <%= t('.or') %> <%= submit_tag(t('.update_settings'), class: 'btn btn-success') %>
<% end %>