<%= @title %>


<%= t("views.admin.installation.content") %>


<%= form_tag(setup_index_path, :html => { class: 'form-horizontal' }) do %>
<%= label_tag(:site_url, t("views.admin.settings.tab_content.site_url"), class: "col-sm-3 control-label") %>
<%= text_field_tag(:site_url, @settings['site_url'], class: 'form-control') %> <%= setting_errors_for @settings, :site_url %>
<%= label_tag(:site_email, t("views.admin.settings.tab_content.site_email"), class: "col-sm-3 control-label") %>
<%= text_field_tag(:site_email, @settings['site_email'], class: 'form-control') %> <%= setting_errors_for @settings, :site_email %>
<%= label_tag(:articles_slug, t("views.admin.settings.tab_content.articles_slug"), class: "col-sm-3 control-label") %>
<%= text_field_tag(:articles_slug, @settings['articles_slug'], class: 'form-control') %> <%= setting_errors_for @settings, :articles_slug %>
<%= label_tag(:category_slug, t("views.admin.settings.tab_content.category_slug"), class: "col-sm-3 control-label") %>
<%= text_field_tag(:category_slug, @settings['category_slug'], class: 'form-control') %> <%= setting_errors_for @settings, :category_slug %>
<%= label_tag(:tag_slug, t("views.admin.settings.tab_content.tag_slug"), class: "col-sm-3 control-label") %>
<%= text_field_tag(:tag_slug, @settings['tag_slug'], class: 'form-control') %> <%= setting_errors_for @settings, :tag_slug %>


<%= label_tag(:aws_access_key_id, t("views.admin.settings.tab_content.aws_access_key_id"), class: "col-sm-3 control-label") %>
<%= text_field_tag(:aws_access_key_id, @settings['aws_access_key_id'], class: 'form-control') %> <%= setting_errors_for @settings, :aws_access_key_id %>
<%= label_tag(:aws_secret_access_key, t("views.admin.settings.tab_content.aws_secret_access_key"), class: "col-sm-3 control-label") %>
<%= text_field_tag(:aws_secret_access_key, @settings['aws_secret_access_key'], class: 'form-control') %> <%= setting_errors_for @settings, :aws_secret_access_key %>
<%= label_tag(:aws_bucket_name, t("views.admin.settings.tab_content.aws_bucket_name"), class: "col-sm-3 control-label") %>
<%= text_field_tag(:aws_bucket_name, @settings['aws_bucket_name'], class: 'form-control') %> <%= setting_errors_for @settings, :aws_bucket_name %>
 
<% end %>